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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user