summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/conf/Makefile.powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/conf/Makefile.powerpc')
-rw-r--r--sys/arch/powerpc/conf/Makefile.powerpc16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/powerpc/conf/Makefile.powerpc b/sys/arch/powerpc/conf/Makefile.powerpc
index 06dc495cb4c..81565d1f0b4 100644
--- a/sys/arch/powerpc/conf/Makefile.powerpc
+++ b/sys/arch/powerpc/conf/Makefile.powerpc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.powerpc,v 1.10 2001/07/10 01:56:50 drahn Exp $
+# $OpenBSD: Makefile.powerpc,v 1.11 2001/07/15 13:10:49 assar Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -23,6 +23,8 @@
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
+.include <bsd.own.mk>
+
AS?= as
CC?= cc
CPP?= cpp
@@ -180,4 +182,16 @@ locore.o machdep.o: Makefile
locore.o: ${PPC}/powerpc/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