From 776c4fafd1351d3375c0d8ce0002acca4fb2a443 Mon Sep 17 00:00:00 2001 From: assar Date: Sun, 15 Jul 2001 13:10:52 +0000 Subject: add install target --- sys/arch/mvme88k/conf/Makefile.mvme88k | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'sys/arch/mvme88k/conf/Makefile.mvme88k') diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k index 7d123762f8f..7b158a658f8 100644 --- a/sys/arch/mvme88k/conf/Makefile.mvme88k +++ b/sys/arch/mvme88k/conf/Makefile.mvme88k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvme88k,v 1.12 2001/05/20 05:50:43 miod Exp $ +# $OpenBSD: Makefile.mvme88k,v 1.13 2001/07/15 13:10:49 assar Exp $ # # Makefile for OpenBSD # @@ -21,6 +21,8 @@ # DEBUG is set to -g by config if debugging is requested (config -g). # PROF is set to -pg by config if profiling is requested (config -p). +.include + AS?= as CC?= cc CPP?= cpp @@ -182,4 +184,16 @@ locore.o machdep.o: Makefile locore.o: ${MVME88K}/mvme88k/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 -- cgit v1.2.3