summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/conf/Makefile.amiga
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga/conf/Makefile.amiga')
-rw-r--r--sys/arch/amiga/conf/Makefile.amiga16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga
index dbdf88c0735..f8287ba9f2c 100644
--- a/sys/arch/amiga/conf/Makefile.amiga
+++ b/sys/arch/amiga/conf/Makefile.amiga
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amiga,v 1.25 2000/07/16 09:35:39 espie Exp $
+# $OpenBSD: Makefile.amiga,v 1.26 2001/07/15 13:10:47 assar Exp $
# $NetBSD: Makefile.amiga,v 1.60 1997/07/23 10:19:42 is 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
@@ -192,4 +194,16 @@ amiga_init.o locore.o pmap.o sys_machdep.o bzsc.o flsc.o sbic.o sfas.o: Makefile
locore.o: ${AMIGA}/amiga/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