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/hp300 | |
parent | b72ffa47960a4c39c8a906fd71310112140f748f (diff) |
add install target
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/conf/Makefile.hp300 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300 index 983243d4cc9..b30637ef7c9 100644 --- a/sys/arch/hp300/conf/Makefile.hp300 +++ b/sys/arch/hp300/conf/Makefile.hp300 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hp300,v 1.20 2000/06/18 20:00:54 millert Exp $ +# $OpenBSD: Makefile.hp300,v 1.21 2001/07/15 13:10:47 assar Exp $ # $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr 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 @@ -176,4 +178,16 @@ dma.o hpux_machdep.o locore.o machdep.o pmap.o pmap_boostrap.o sys_machdep.o tra locore.o: ${HP300}/hp300/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 |