[Midnightbsd-cvs] src [7859] work around file modifications causing rebuilds in some cases

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Sep 14 12:07:33 EDT 2016


Revision: 7859
          http://svnweb.midnightbsd.org/src/?rev=7859
Author:   laffer1
Date:     2016-09-14 12:07:33 -0400 (Wed, 14 Sep 2016)
Log Message:
-----------
work around file modifications causing rebuilds in some cases

Modified Paths:
--------------
    trunk/sys/boot/ficl/Makefile
    trunk/sys/boot/zfs/Makefile

Property Changed:
----------------
    trunk/sys/boot/ficl/Makefile

Modified: trunk/sys/boot/ficl/Makefile
===================================================================
--- trunk/sys/boot/ficl/Makefile	2016-09-14 16:06:20 UTC (rev 7858)
+++ trunk/sys/boot/ficl/Makefile	2016-09-14 16:07:33 UTC (rev 7859)
@@ -44,9 +44,11 @@
 	    | awk -f softcore.awk -v datestamp="`LC_ALL=C date`") > ${.TARGET}
 
 .if ${MACHINE_CPUARCH} == "amd64"
+.if !exists(machine)
 ${SRCS:M*.c:R:S/$/.o/g}: machine
 
 beforedepend ${OBJS}: machine
+.endif
 
 machine:
 	ln -sf ${.CURDIR}/../../i386/include machine


Property changes on: trunk/sys/boot/ficl/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Modified: trunk/sys/boot/zfs/Makefile
===================================================================
--- trunk/sys/boot/zfs/Makefile	2016-09-14 16:06:20 UTC (rev 7858)
+++ trunk/sys/boot/zfs/Makefile	2016-09-14 16:07:33 UTC (rev 7859)
@@ -33,5 +33,7 @@
 .include <bsd.lib.mk>
 
 .if ${MACHINE_CPUARCH} == "amd64"
+.if !exists(machine)
 beforedepend ${OBJS}: machine
 .endif
+.endif



More information about the Midnightbsd-cvs mailing list