local.dirdeps.mk ensure tools/build is built if needed
If MK_host_egacy is yes, we need it built, make sure that happens. Reviewed by: stevek
This commit is contained in:
@@ -84,7 +84,11 @@ DIRDEPS_FILTER.xtras=
|
|||||||
DIRDEPS_FILTER.xtras+= Nusr.bin/clang/clang.host
|
DIRDEPS_FILTER.xtras+= Nusr.bin/clang/clang.host
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${DEP_MACHINE} != "host"
|
.if ${DEP_MACHINE:Nhost*} == ""
|
||||||
|
.if ${MK_host_egacy} == "yes" && ${DEP_RELDIR:Ntools/build:Ntargets/*:N*/stage} != ""
|
||||||
|
DIRDEPS += tools/build
|
||||||
|
.endif
|
||||||
|
.else
|
||||||
MK_host_egacy.${DEP_MACHINE}= no
|
MK_host_egacy.${DEP_MACHINE}= no
|
||||||
|
|
||||||
# this is how we can handle optional dependencies
|
# this is how we can handle optional dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user