Author: bdrewery
Date: Thu Oct 15 05:32:56 2015
New Revision: 289361
URL: https://svnweb.freebsd.org/changeset/base/289361
Log:
Consider top-level targets to be .PHONY as bmake won't build them
otherwise if a file with the same name is found in the directory.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/Makefile
head/Makefile.inc1
Modified: head/Makefile
==============================================================================
--- head/Makefile Thu Oct 15 05:26:11 2015 (r289360)
+++ head/Makefile Thu Oct 15 05:32:56 2015 (r289361)
@@ -250,7 +250,7 @@ ${TGTS}: .MAKE
tinderbox toolchains kernel-toolchains: .MAKE
.endif
-${TGTS}:
+${TGTS}: .PHONY
${_+_}@cd ${.CURDIR}; ${_MAKE} ${.TARGET}
# The historic default "all" target creates files which may cause stale
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Thu Oct 15 05:26:11 2015 (r289360)
+++ head/Makefile.inc1 Thu Oct 15 05:32:56 2015 (r289361)
@@ -1062,7 +1062,7 @@ INSTALLKERNEL= ${_kernel}
.endif
.endfor
-buildkernel ${WMAKE_TGTS:N_worldtmp} ${.ALLTARGETS:M_*:N_worldtmp}: .MAKE
+buildkernel ${WMAKE_TGTS:N_worldtmp} ${.ALLTARGETS:M_*:N_worldtmp}: .MAKE
.PHONY
#
# buildkernel
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"