Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 05:32:56 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289361 - head
Message-ID:  <201510150532.t9F5WuEs057177@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510150532.t9F5WuEs057177>