summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/conf/Makefile.hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/conf/Makefile.hppa')
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index ebbaf21af69..7e6833f4059 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.103 2017/09/28 16:16:34 patrick Exp $
+# $OpenBSD: Makefile.hppa,v 1.104 2017/11/04 16:04:16 florian Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -148,12 +148,14 @@ locore0.o: ${_machdir}/${_mach}/locore0.S assym.h
locore.o: ${_machdir}/${_mach}/locore.S assym.h
fpemu.o spcopy.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