summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/conf/Makefile.sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/conf/Makefile.sparc64')
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc648
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index 2b527408341..9d1d44db40f 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc64,v 1.95 2017/09/28 16:16:34 patrick Exp $
+# $OpenBSD: Makefile.sparc64,v 1.96 2017/11/04 16:04:16 florian Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -137,12 +137,14 @@ depend obj:
locore.o: ${_machdir}/${_mach}/locore.s assym.h
hvcall.o in_cksum.o mutex.o: assym.h
-newinstall:
+hardlink-obsd:
cmp -s bsd /bsd || ln -f /bsd /obsd
+
+newinstall:
umask 077 && cp bsd /nbsd && mv /nbsd /bsd && \
sha256 -h /var/db/kernel.SHA256 /bsd
-install: update-link newinstall
+install: update-link hardlink-obsd newinstall
# pull in the dependency information
.ifnmake clean