Apply the .PHONY attribute to the ../make*/make* targets. This
causes them to be recreated (if needed) early, when doing "make depend" here, before generating headers that depend on them. This should fix breakages often seen while doing incremental (NO_CLEAN) cross-builds.
This commit is contained in:
parent
3e42392551
commit
e6c93861cb
@ -31,13 +31,13 @@ CLEANFILES= print_version.h roken.h
|
||||
print_version.h: ../make-print-version/make-print-version
|
||||
../make-print-version/make-print-version ${.TARGET}
|
||||
|
||||
../make-print-version/make-print-version:
|
||||
../make-print-version/make-print-version: .PHONY
|
||||
cd ${.CURDIR}/../make-print-version && ${MAKE}
|
||||
|
||||
roken.h: ../make-roken/make-roken
|
||||
../make-roken/make-roken > ${.TARGET}
|
||||
|
||||
../make-roken/make-roken:
|
||||
../make-roken/make-roken: .PHONY
|
||||
cd ${.CURDIR}/../make-roken && ${MAKE}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user