svn commit: r289361 - head

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 15 05:32:57 UTC 2015


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


More information about the svn-src-head mailing list