summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 1940f2e2940..837340df7bc 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.8 2000/01/11 21:26:23 mickey Exp $
+# $OpenBSD: Makefile.hppa,v 1.9 2001/07/15 13:10:48 assar Exp $
# Makefile for OpenBSD
#
@@ -21,6 +21,8 @@
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
+.include <bsd.own.mk>
+
.if ${MACHINE_ARCH} != "hppa"
CROSSDIR?= /usr/cross/hppa
@@ -206,6 +208,18 @@ locore.o machdep.o trap.o: Makefile
locore.o: ${HPPA}/hppa/locore.S assym.h
${NORMAL_S}
+# The install target can be redefined by putting a
+# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
+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
+ cp bsd /nbsd
+ mv /nbsd /bsd
+.endif
+
%RULES
.endif