diff options
author | dougb <dougb@FreeBSD.org> | 2009-01-04 20:59:23 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2009-01-04 20:59:23 +0000 |
commit | f09c7491ba5cb44e02c8c3ab1274209f025e61da (patch) | |
tree | 8bf8fe3bde3fe8f9d5a15384d1039f616d26ee6f | |
parent | b5a94963bbdd177bd359c87562a5c14f9cd72557 (diff) | |
download | FreeBSD-src-f09c7491ba5cb44e02c8c3ab1274209f025e61da.zip FreeBSD-src-f09c7491ba5cb44e02c8c3ab1274209f025e61da.tar.gz |
Instead of using obj and all targets which are not cross-build aware,
use _obj and everything which are.
Submitted by: ru
-rwxr-xr-x | usr.sbin/mergemaster/mergemaster.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/mergemaster/mergemaster.sh b/usr.sbin/mergemaster/mergemaster.sh index 075ef1a..2f2f55b 100755 --- a/usr.sbin/mergemaster/mergemaster.sh +++ b/usr.sbin/mergemaster/mergemaster.sh @@ -592,10 +592,11 @@ case "${RERUN}" in ${MM_MAKE} DESTDIR=${DESTDIR} distrib-dirs ;; esac + od=${TEMPROOT}/usr/obj ${MM_MAKE} DESTDIR=${TEMPROOT} distrib-dirs && - MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj ${MM_MAKE} obj SUBDIR_OVERRIDE=etc && - MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj ${MM_MAKE} all SUBDIR_OVERRIDE=etc && - MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj ${MM_MAKE} DESTDIR=${TEMPROOT} distribution;} || + MAKEOBJDIRPREFIX=$od ${MM_MAKE} _obj SUBDIR_OVERRIDE=etc && + MAKEOBJDIRPREFIX=$od ${MM_MAKE} everything SUBDIR_OVERRIDE=etc && + MAKEOBJDIRPREFIX=$od ${MM_MAKE} DESTDIR=${TEMPROOT} distribution;} || { echo ''; echo " *** FATAL ERROR: Cannot 'cd' to ${SOURCEDIR} and install files to"; echo " the temproot environment"; |