Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/distrib/mac68k/instkernel Pull up revision 1.2 (request...
details: https://anonhg.NetBSD.org/src/rev/011a459f4ac6
branches: netbsd-1-4
changeset: 470003:011a459f4ac6
user: he <he%NetBSD.org@localhost>
date: Sat Jan 08 20:16:06 2000 +0000
description:
Pull up revision 1.2 (requested by fredb):
Build the mac68k instkernel (bootable sysinstall), and include
it in the standard release.
diffstat:
distrib/mac68k/instkernel/Makefile | 4 +++-
distrib/mac68k/instkernel/instkernel/Makefile | 24 +++++++++++++++++-------
2 files changed, 20 insertions(+), 8 deletions(-)
diffs (52 lines):
diff -r 736156c93bf4 -r 011a459f4ac6 distrib/mac68k/instkernel/Makefile
--- a/distrib/mac68k/instkernel/Makefile Sat Jan 08 20:15:37 2000 +0000
+++ b/distrib/mac68k/instkernel/Makefile Sat Jan 08 20:16:06 2000 +0000
@@ -1,5 +1,7 @@
-# $NetBSD: Makefile,v 1.1 1999/03/26 08:34:37 ender Exp $
+# $NetBSD: Makefile,v 1.1.2.1 2000/01/08 20:16:06 he Exp $
SUBDIR= ramdisk instkernel
+TARGETS+= release
+
.include <bsd.subdir.mk>
diff -r 736156c93bf4 -r 011a459f4ac6 distrib/mac68k/instkernel/instkernel/Makefile
--- a/distrib/mac68k/instkernel/instkernel/Makefile Sat Jan 08 20:15:37 2000 +0000
+++ b/distrib/mac68k/instkernel/instkernel/Makefile Sat Jan 08 20:16:06 2000 +0000
@@ -1,19 +1,29 @@
-# $NetBSD: Makefile,v 1.1.2.2 1999/12/16 22:57:12 he Exp $
+# $NetBSD: Makefile,v 1.1.2.3 2000/01/08 20:16:44 he Exp $
RAMDISK!=cd ${.CURDIR}/../ramdisk; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
${MAKE} -s -f-
-KERNEL=${BSDSRCDIR}/sys/arch/mac68k/compile/INSTALL/netbsd
+INSTALL_KERNEL?=INSTALL
+KERNEL=${BSDSRCDIR}/sys/arch/mac68k/compile/${INSTALL_KERNEL}/netbsd
all:
- cp ${KERNEL} netbsd
- mdsetimage -T 0x0 -v netbsd ${RAMDISK}
- strip netbsd
- gzip -f netbsd
+ cp ${KERNEL} netbsd-${INSTALL_KERNEL}
+ mdsetimage -T 0x0 -v netbsd-${INSTALL_KERNEL} ${RAMDISK}
+# XXX Doesn't boot with this. Why?
+# strip netbsd-${INSTALL_KERNEL}
+# XXX Reported not to boot on some machines.
+# gzip -9 -f netbsd-${INSTALL_KERNEL}
+ gzip -f netbsd-${INSTALL_KERNEL}
clean cleandir distclean:
- rm -f netbsd
+ rm -f netbsd*
+
+release: all
+ ${INSTALL} -d -o root -g wheel -m 755 \
+ ${RELEASEDIR}/installation/instkernel/
+ ${INSTALL} -c -o root -g wheel -m 644 netbsd-${INSTALL_KERNEL}.gz \
+ ${RELEASEDIR}/installation/instkernel/
.include <bsd.own.mk>
.include <bsd.obj.mk>
Home |
Main Index |
Thread Index |
Old Index