mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
Allow -f dirdeps.mk some/dir with no TARGET_MACHINE spec
Use $MACHINE if target does not specify. Reviewed by: bdrewery
This commit is contained in:
parent
f31828ed9c
commit
30e2910007
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298229
@ -135,6 +135,9 @@ DIRDEPS := ${.TARGETS:M*[/.]*}
|
||||
DEP_RELDIR := ${DIRDEPS:[1]:R}
|
||||
# this will become DEP_MACHINE below
|
||||
TARGET_MACHINE := ${DIRDEPS:[1]:E:C/,.*//}
|
||||
.if ${TARGET_MACHINE:N*/*} == ""
|
||||
TARGET_MACHINE := ${MACHINE}
|
||||
.endif
|
||||
# disable DIRDEPS_CACHE as it does not like this trick
|
||||
MK_DIRDEPS_CACHE = no
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user