Rework r325076: Just use the pre-existing OBJDIR.
Like was done in usr.sbin/mergemaster in r249906, we can just use the already-built OBJDIR for install(1). Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
119b826a62
commit
f7ef435bb6
@ -114,14 +114,10 @@ echo ''
|
||||
${MM_MAKE} DESTDIR=${DESTDIR} distrib-dirs
|
||||
;;
|
||||
esac
|
||||
od=${TEMPROOT}/usr/obj
|
||||
${MM_MAKE} DESTDIR=${TEMPROOT} distrib-dirs &&
|
||||
MAKEOBJDIRPREFIX=$od ${MM_MAKE} kernel-toolchain \
|
||||
MK_TOOLCHAIN=no MK_CROSS_COMPILER=no \
|
||||
MK_CDDL=no MK_TESTS=no MK_RESCUE=no &&
|
||||
MAKEOBJDIRPREFIX=$od ${MM_MAKE} _obj SUBDIR_OVERRIDE=etc &&
|
||||
MAKEOBJDIRPREFIX=$od ${MM_MAKE} everything SUBDIR_OVERRIDE=etc &&
|
||||
MAKEOBJDIRPREFIX=$od ${MM_MAKE} DESTDIR=${TEMPROOT} distribution;} ||
|
||||
${MM_MAKE} _obj SUBDIR_OVERRIDE=etc &&
|
||||
${MM_MAKE} everything SUBDIR_OVERRIDE=etc &&
|
||||
${MM_MAKE} DESTDIR=${TEMPROOT} distribution;} ||
|
||||
{ echo '';
|
||||
echo " *** FATAL ERROR: Cannot 'cd' to ${SOURCEDIR} and install files to";
|
||||
echo " the temproot environment";
|
||||
|
Loading…
Reference in New Issue
Block a user