Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sparc/bootfs - add a "netbsd.ram" target so we can b...
details: https://anonhg.NetBSD.org/src/rev/6219c89dc81c
branches: trunk
changeset: 484979:6219c89dc81c
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Apr 16 04:16:12 2000 +0000
description:
- add a "netbsd.ram" target so we can build a kernel that has an embedded
filesystem but don't need/want to compress it.
- use "KERN?=" so that "make KERN=/path/to/my/netbsd" works.
diffstat:
distrib/sparc/bootfs/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r f2630ccca748 -r 6219c89dc81c distrib/sparc/bootfs/Makefile
--- a/distrib/sparc/bootfs/Makefile Sun Apr 16 03:46:28 2000 +0000
+++ b/distrib/sparc/bootfs/Makefile Sun Apr 16 04:16:12 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2000/03/08 21:58:10 cjs Exp $
+# $NetBSD: Makefile,v 1.17 2000/04/16 04:16:12 mrg Exp $
TOP= ${.CURDIR}/..
MINIROOT= ${.CURDIR}/../../miniroot
@@ -7,7 +7,7 @@
.include <bsd.own.mk> # So we use /etc/mk.conf.
-KERN= ${TOP}/../../sys/arch/sparc/compile/INSTALL/netbsd
+KERN?= ${TOP}/../../sys/arch/sparc/compile/INSTALL/netbsd
MOUNT_POINT?= /mnt
VND?= vnd0
@@ -58,6 +58,11 @@
-umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV}
+netbsd.ram: ${KERN} ${RAMDISK}
+ cp ${KERN} netbsd.tmp
+ mdsetimage -v netbsd.tmp ${RAMDISK}
+ mv netbsd.tmp ${.TARGET}
+
netbsd.ram.gz: ${KERN} ${RAMDISK}
cp ${KERN} netbsd.tmp
mdsetimage -v netbsd.tmp ${RAMDISK}
Home |
Main Index |
Thread Index |
Old Index