diff options
author | assar <assar@cvs.openbsd.org> | 2001-07-15 13:10:52 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2001-07-15 13:10:52 +0000 |
commit | 776c4fafd1351d3375c0d8ce0002acca4fb2a443 (patch) | |
tree | 2d5895da765a71457cf4251e0d31a9fdc0951807 /sys/arch/mvme88k/conf | |
parent | b72ffa47960a4c39c8a906fd71310112140f748f (diff) |
add install target
Diffstat (limited to 'sys/arch/mvme88k/conf')
-rw-r--r-- | sys/arch/mvme88k/conf/Makefile.mvme88k | 16 |
1 files changed, 15 insertions, 1 deletions
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 <bsd.own.mk> + 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 |