Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Add "install" target, so "make install" after build...
details: https://anonhg.NetBSD.org/src/rev/f1c1243496fd
branches: trunk
changeset: 485940:f1c1243496fd
user: hubertf <hubertf%NetBSD.org@localhost>
date: Tue May 09 00:56:21 2000 +0000
description:
Add "install" target, so "make install" after building the kernel
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
diffstat:
sys/arch/alpha/conf/Makefile.alpha | 14 +++++++++++++-
sys/arch/amiga/conf/Makefile.amiga | 14 +++++++++++++-
sys/arch/arc/conf/Makefile.arc | 14 +++++++++++++-
sys/arch/arm32/conf/Makefile.arm32 | 14 +++++++++++++-
sys/arch/atari/conf/Makefile.atari | 14 +++++++++++++-
sys/arch/bebox/conf/Makefile.bebox | 14 +++++++++++++-
sys/arch/cobalt/conf/Makefile.cobalt | 14 +++++++++++++-
sys/arch/evbsh3/conf/Makefile.evbsh3 | 14 +++++++++++++-
sys/arch/evbsh3/conf/Makefile.evbsh3.el | 14 +++++++++++++-
sys/arch/hp300/conf/Makefile.hp300 | 14 +++++++++++++-
sys/arch/hpcmips/conf/Makefile.hpcmips | 14 +++++++++++++-
sys/arch/i386/conf/Makefile.i386 | 14 +++++++++++++-
sys/arch/luna68k/conf/Makefile.luna68k | 14 +++++++++++++-
sys/arch/mac68k/conf/Makefile.mac68k | 14 +++++++++++++-
sys/arch/macppc/conf/Makefile.macppc | 14 +++++++++++++-
sys/arch/mmeye/conf/Makefile.mmeye | 14 +++++++++++++-
sys/arch/mvme68k/conf/Makefile.mvme68k | 14 +++++++++++++-
sys/arch/news68k/conf/Makefile.news68k | 14 +++++++++++++-
sys/arch/newsmips/conf/Makefile.newsmips | 14 +++++++++++++-
sys/arch/next68k/conf/Makefile.next68k | 14 +++++++++++++-
sys/arch/ofppc/conf/Makefile.ofppc | 14 +++++++++++++-
sys/arch/pc532/conf/Makefile.pc532 | 14 +++++++++++++-
sys/arch/pmax/conf/Makefile.pmax | 14 +++++++++++++-
sys/arch/prep/conf/Makefile.prep | 14 +++++++++++++-
sys/arch/sh3/conf/Makefile.sh3 | 14 +++++++++++++-
sys/arch/sh3/conf/Makefile.sh3.be | 14 +++++++++++++-
sys/arch/sh3/conf/Makefile.sh3.le | 14 +++++++++++++-
sys/arch/sparc/conf/Makefile.sparc | 14 +++++++++++++-
sys/arch/sparc64/conf/Makefile.sparc64 | 14 +++++++++++++-
sys/arch/sun3/conf/Makefile.sun3 | 14 +++++++++++++-
sys/arch/vax/conf/Makefile.vax | 14 +++++++++++++-
sys/arch/x68k/conf/Makefile.x68k | 14 +++++++++++++-
32 files changed, 416 insertions(+), 32 deletions(-)
diffs (truncated from 832 to 300 lines):
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/alpha/conf/Makefile.alpha
--- a/sys/arch/alpha/conf/Makefile.alpha Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/alpha/conf/Makefile.alpha Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.alpha,v 1.57 2000/05/09 00:32:19 thorpej Exp $
+# $NetBSD: Makefile.alpha,v 1.58 2000/05/09 00:56:21 hubertf Exp $
# Makefile for NetBSD
#
@@ -204,4 +204,16 @@
transfer.o: ${ALPHA}/alpha/transfer.s
${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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/amiga/conf/Makefile.amiga
--- a/sys/arch/amiga/conf/Makefile.amiga Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/amiga/conf/Makefile.amiga Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.amiga,v 1.88 2000/05/09 00:32:20 thorpej Exp $
+# $NetBSD: Makefile.amiga,v 1.89 2000/05/09 00:56:22 hubertf Exp $
# Makefile for NetBSD
#
@@ -217,4 +217,16 @@
locore.o: ${AMIGA}/amiga/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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/arc/conf/Makefile.arc
--- a/sys/arch/arc/conf/Makefile.arc Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/arc/conf/Makefile.arc Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.arc,v 1.36 2000/05/09 00:32:20 thorpej Exp $
+# $NetBSD: Makefile.arc,v 1.37 2000/05/09 00:56:22 hubertf Exp $
# Makefile for NetBSD
#
@@ -226,4 +226,16 @@
locore_machdep.o: ${ARC}/arc/locore_machdep.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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/arm32/conf/Makefile.arm32
--- a/sys/arch/arm32/conf/Makefile.arm32 Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/arm32/conf/Makefile.arm32 Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.arm32,v 1.52 2000/05/09 00:32:21 thorpej Exp $
+# $NetBSD: Makefile.arm32,v 1.53 2000/05/09 00:56:22 hubertf Exp $
# Makefile for NetBSD
#
@@ -220,4 +220,16 @@
modedefs.o: modedefs.c
${NORMAL_C}
+# 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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/atari/conf/Makefile.atari
--- a/sys/arch/atari/conf/Makefile.atari Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/atari/conf/Makefile.atari Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.atari,v 1.59 2000/05/09 00:32:21 thorpej Exp $
+# $NetBSD: Makefile.atari,v 1.60 2000/05/09 00:56:23 hubertf Exp $
# Makefile for NetBSD
#
@@ -211,4 +211,16 @@
locore.o: ${ATARI}/atari/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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/bebox/conf/Makefile.bebox
--- a/sys/arch/bebox/conf/Makefile.bebox Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/bebox/conf/Makefile.bebox Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bebox,v 1.18 2000/05/09 00:32:21 thorpej Exp $
+# $NetBSD: Makefile.bebox,v 1.19 2000/05/09 00:56:23 hubertf Exp $
# Makefile for NetBSD
#
@@ -198,4 +198,16 @@
locore.o: ${BEBOX}/bebox/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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/cobalt/conf/Makefile.cobalt
--- a/sys/arch/cobalt/conf/Makefile.cobalt Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/cobalt/conf/Makefile.cobalt Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cobalt,v 1.3 2000/05/09 00:32:21 thorpej Exp $
+# $NetBSD: Makefile.cobalt,v 1.4 2000/05/09 00:56:23 hubertf Exp $
# Makefile for NetBSD
#
@@ -223,4 +223,16 @@
locore_machdep.o: ${COBALT}/cobalt/locore_machdep.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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/evbsh3/conf/Makefile.evbsh3
--- a/sys/arch/evbsh3/conf/Makefile.evbsh3 Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/evbsh3/conf/Makefile.evbsh3 Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.evbsh3,v 1.6 2000/05/09 00:32:22 thorpej Exp $
+# $NetBSD: Makefile.evbsh3,v 1.7 2000/05/09 00:56:23 hubertf Exp $
# Makefile for NetBSD
#
@@ -206,4 +206,16 @@
locore.o: ${EVBSH3}/evbsh3/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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/evbsh3/conf/Makefile.evbsh3.el
--- a/sys/arch/evbsh3/conf/Makefile.evbsh3.el Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/evbsh3/conf/Makefile.evbsh3.el Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.evbsh3.el,v 1.5 2000/05/09 00:32:22 thorpej Exp $
+# $NetBSD: Makefile.evbsh3.el,v 1.6 2000/05/09 00:56:23 hubertf Exp $
# Makefile for NetBSD
#
@@ -205,4 +205,16 @@
locore.o: ${EVBSH3}/evbsh3/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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/hp300/conf/Makefile.hp300
--- a/sys/arch/hp300/conf/Makefile.hp300 Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/hp300/conf/Makefile.hp300 Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.hp300,v 1.75 2000/05/09 00:32:22 thorpej Exp $
+# $NetBSD: Makefile.hp300,v 1.76 2000/05/09 00:56:24 hubertf Exp $
# Makefile for NetBSD
#
@@ -205,4 +205,16 @@
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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/hpcmips/conf/Makefile.hpcmips
--- a/sys/arch/hpcmips/conf/Makefile.hpcmips Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/hpcmips/conf/Makefile.hpcmips Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.hpcmips,v 1.16 2000/05/09 00:32:22 thorpej Exp $
+# $NetBSD: Makefile.hpcmips,v 1.17 2000/05/09 00:56:24 hubertf Exp $
# Makefile for NetBSD
#
@@ -227,4 +227,16 @@
locore_machdep.o: ${HPCMIPS}/hpcmips/locore_machdep.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 /onetbsd
+ ln /netbsd /onetbsd
+ cp netbsd /nnetbsd
+ mv /nnetbsd /netbsd
+.endif
+
%RULES
diff -r 68b17ef9488b -r f1c1243496fd sys/arch/i386/conf/Makefile.i386
--- a/sys/arch/i386/conf/Makefile.i386 Tue May 09 00:34:58 2000 +0000
+++ b/sys/arch/i386/conf/Makefile.i386 Tue May 09 00:56:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.i386,v 1.105 2000/05/09 00:32:23 thorpej Exp $
+# $NetBSD: Makefile.i386,v 1.106 2000/05/09 00:56:24 hubertf Exp $
# Makefile for NetBSD
#
@@ -203,4 +203,16 @@
locore.o: ${I386}/i386/locore.s assym.h
${NORMAL_S}
+# The install target can be redefined by putting a
Home |
Main Index |
Thread Index |
Old Index