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:
parent
3af3571ca5
commit
93ac817fae
@ -84,7 +84,11 @@ DIRDEPS_FILTER.xtras=
|
||||
DIRDEPS_FILTER.xtras+= Nusr.bin/clang/clang.host
|
||||
.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
|
||||
|
||||
# this is how we can handle optional dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user