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/mvmeppc | |
parent | b72ffa47960a4c39c8a906fd71310112140f748f (diff) |
add install target
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/conf/Makefile.mvmeppc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc index e6590ca4016..0413c61d22a 100644 --- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc +++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvmeppc,v 1.3 2001/07/06 05:14:29 smurph Exp $ +# $OpenBSD: Makefile.mvmeppc,v 1.4 2001/07/15 13:10:49 assar Exp $ # # Makefile for OpenBSD PowerPC # @@ -23,6 +23,8 @@ # DEBUG is set to -g if debugging. # PROF is set to -pg if profiling. +.include <bsd.own.mk> + AS?= as CC?= cc CPP?= cpp @@ -181,4 +183,16 @@ locore.o machdep.o: Makefile locore.o: ${PPC}/mvmeppc/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 |