summaryrefslogtreecommitdiff
path: root/sys/arch/i386/conf/Makefile.i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/conf/Makefile.i386')
-rw-r--r--sys/arch/i386/conf/Makefile.i38616
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index 8d56975ef01..faeab7e18f0 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.26 2001/04/22 19:20:35 gluk Exp $
+# $OpenBSD: Makefile.i386,v 1.27 2001/07/15 13:10:48 assar Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft 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>
+
AS?= as
CC?= cc
MKDEP?= mkdep
@@ -190,4 +192,16 @@ locore.o machdep.o: Makefile
locore.o: ${I386}/i386/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