summaryrefslogtreecommitdiffstats
path: root/sys/boot/zfs
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2012-07-26 10:10:54 +0000
committerache <ache@FreeBSD.org>2012-07-26 10:10:54 +0000
commitf656f9bc4c214513dd65579c679f67d5c8f8c1ea (patch)
tree23ce2fe17083d12b07ee6c70a652b6a89c17b29b /sys/boot/zfs
parentd3fc8e917d0e4229d20c4bce04b682b3710fd2dc (diff)
downloadFreeBSD-src-f656f9bc4c214513dd65579c679f67d5c8f8c1ea.zip
FreeBSD-src-f656f9bc4c214513dd65579c679f67d5c8f8c1ea.tar.gz
Try to avoid all files dependence on the modification time of the large and
often modified directory created symbolic links points to - it cause unnecessary full rebuilds each time make runs when directory is changed. So do it only if symbolic link does not exists, which usually means that objdir is clean anyway. MFC after: 1 week
Diffstat (limited to 'sys/boot/zfs')
-rw-r--r--sys/boot/zfs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/zfs/Makefile b/sys/boot/zfs/Makefile
index a6fba3a..ff423a0 100644
--- a/sys/boot/zfs/Makefile
+++ b/sys/boot/zfs/Makefile
@@ -33,5 +33,7 @@ machine:
.include <bsd.lib.mk>
.if ${MACHINE_CPUARCH} == "amd64"
+.if !exists(machine)
beforedepend ${OBJS}: machine
.endif
+.endif
OpenPOWER on IntegriCloud