diff options
author | sjg <sjg@FreeBSD.org> | 2015-05-26 21:44:15 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-05-26 21:44:15 +0000 |
commit | 71dd3855693675b4f6136ad22c21026e18d48749 (patch) | |
tree | 0d52337ea8cfb89861ead9f6c0465e791e7513fd /share/mk/local.gendirdeps.mk | |
parent | 9efb3976cc2f1c389dacfdd830f4bab11a56200f (diff) | |
download | FreeBSD-src-71dd3855693675b4f6136ad22c21026e18d48749.zip FreeBSD-src-71dd3855693675b4f6136ad22c21026e18d48749.tar.gz |
Move META_MODE bits to local.meta.sys.mk
By moving META_MODE bits from local.sys.mk, they are easier
to skip when MK_META_MODE=no
Update some filters to cope with sync from head.
If buildworld etc or WITHOUT_META_MODE disable all the META_MODE
related options.
Diffstat (limited to 'share/mk/local.gendirdeps.mk')
-rw-r--r-- | share/mk/local.gendirdeps.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/mk/local.gendirdeps.mk b/share/mk/local.gendirdeps.mk index df32cda..6bfc5c6 100644 --- a/share/mk/local.gendirdeps.mk +++ b/share/mk/local.gendirdeps.mk @@ -9,12 +9,21 @@ GENDIRDEPS_FILTER+= \ Ntools/* .if ${RELDIR:Mtargets*} == "" +.if ${RELDIR:Nusr.bin/clang/*:Ngnu/usr.bin/cc/*:Nlib/clang*} != "" +GENDIRDEPS_FILTER.host+= \ + Nusr.bin/clang/* \ + Ngnu/usr.bin/cc/* \ + +.endif GENDIRDEPS_FILTER+= \ Nusr.bin/clang/clang.host \ Ngnu/usr.bin/cc* \ + Ngnu/usr.bin/binutils*.host \ .endif +GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER.${MACHINE}:U} + # gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple # order of this list matters! GENDIRDEPS_FILTER_DIR_VARS+= \ |