diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-04-14 21:06:10 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-04-14 21:06:10 +0000 |
commit | d1dd034d078c8ce6c052bada500f90977c535e42 (patch) | |
tree | 8aaa286b7ad01438e74918c3c600dd2e1609dfc1 /Makefile.inc1 | |
parent | d7296a8faeef2f4a69307412f620504604c76392 (diff) | |
download | src-test2-d1dd034d078c8ce6c052bada500f90977c535e42.tar.gz src-test2-d1dd034d078c8ce6c052bada500f90977c535e42.zip |
META_MODE: Don't rebuild build-tools targets during normal build.
This avoids 'build command changed' due to CFLAGS/CC changes during the
normal build. Without this the build-tools targets end up rebuilding
for the *target* rather than keeping the native versions built in
build-tools.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=297997
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 4c60536dc413..7d0238f599a8 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -296,6 +296,10 @@ CROSSENV+= MAKEOBJDIRPREFIX=${OBJTREE} \ MACHINE_ARCH=${TARGET_ARCH} \ MACHINE=${TARGET} \ CPUTYPE=${TARGET_CPUTYPE} +.if ${MK_META_MODE} != "no" +# Don't rebuild build-tools targets during normal build. +CROSSENV+= BUILD_TOOLS_META=.NOMETA_CMP +.endif .if ${MK_GROFF} != "no" CROSSENV+= GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ |