summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:43 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:43 +0000
commit52255645fb90fea4463237052ca49411638d381a (patch)
treee3f49e2ae9774752cf0d572a4d4dd49a8bf8f14c /sys/boot/i386
parentb93094a6f0d2c9cf9f249b0cfa7df61a46c1da00 (diff)
downloadFreeBSD-src-52255645fb90fea4463237052ca49411638d381a.zip
FreeBSD-src-52255645fb90fea4463237052ca49411638d381a.tar.gz
META MODE: Don't create .meta files when symlinking sources into the obj directory.
Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/boot2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 56f74c1..25de8c4 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -107,8 +107,8 @@ boot2.h: boot1.out
.if ${MACHINE_CPUARCH} == "amd64"
beforedepend boot2.s: machine
CLEANFILES+= machine
-machine:
- ln -sf ${.CURDIR}/../../../i386/include machine
+machine: ${.CURDIR}/../../../i386/include .NOMETA
+ ln -sf ${.ALLSRC} ${.TARGET}
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud