summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/conf/Makefile.alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/conf/Makefile.alpha')
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index e99acd427be..a9655b889ee 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.20 2001/05/11 09:46:02 art Exp $
+# $OpenBSD: Makefile.alpha,v 1.21 2001/07/15 13:10:46 assar Exp $
# $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $
# Makefile for OpenBSD
@@ -22,6 +22,8 @@
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
+.include <bsd.own.mk>
+
CC?= cc
LD?= ld
MKDEP?= mkdep
@@ -176,4 +178,16 @@ cpuconf.o: cpuconf.c
cpuconf.c: ${ALPHA}/alpha/cpuconf.c
cp ${ALPHA}/alpha/cpuconf.c .
+# 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