diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-13 01:12:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-13 01:12:51 +0000 |
commit | 72586d086ad344bee6a1d6af1c9c13da6df4e7d3 (patch) | |
tree | 5caf23529dd206535ac27756795052db426c856c /sys/arch/sparc64 | |
parent | 21e22d25532a5c59723d6ed37f523e31544c212a (diff) |
for the install: target, use cmp as a rough attempt for avoiding repeated
make install
from Simon Nicolussi
ok jsing tedu
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/conf/Makefile.sparc64 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index 94104fce25a..56bc973fde2 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc64,v 1.71 2015/01/11 19:25:14 tedu Exp $ +# $OpenBSD: Makefile.sparc64,v 1.72 2015/01/13 01:12:50 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -147,8 +147,7 @@ MACHINE_NAME!= uname -n install: install-kernel-${MACHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: - rm -f /obsd - ln /bsd /obsd + cmp -s bsd /bsd || ln -f /bsd /obsd cp bsd /nbsd mv /nbsd /bsd .endif |