Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/x68k/floppies Do not remove netbsd.INSTALL and netbs...
details: https://anonhg.NetBSD.org/src/rev/7aa833bf3e9d
branches: trunk
changeset: 471677:7aa833bf3e9d
user: minoura <minoura%NetBSD.org@localhost>
date: Wed Apr 07 14:30:52 1999 +0000
description:
Do not remove netbsd.INSTALL and netbsd.INSTALL.gz.
diffstat:
distrib/x68k/floppies/bootfloppy-common/Makefile.inc | 18 +++++++++++-------
distrib/x68k/floppies/bootfloppy/Makefile | 3 ++-
2 files changed, 13 insertions(+), 8 deletions(-)
diffs (71 lines):
diff -r 7ff069b50196 -r 7aa833bf3e9d distrib/x68k/floppies/bootfloppy-common/Makefile.inc
--- a/distrib/x68k/floppies/bootfloppy-common/Makefile.inc Wed Apr 07 14:17:10 1999 +0000
+++ b/distrib/x68k/floppies/bootfloppy-common/Makefile.inc Wed Apr 07 14:30:52 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.8 1999/03/04 20:32:21 wrstuden Exp $
+# $NetBSD: Makefile.inc,v 1.9 1999/04/07 14:30:52 minoura Exp $
# TOP is assumed to be defined by Makefile including this one.
@@ -12,6 +12,8 @@
VND_CRDEV= /dev/r${VND}c
IMAGE?= xxx-${REV}.fs
KERN?= netbsd-xxx
+KERNNAME?= netbsd.xxx
+GZNAME?= ${KERNNAME}.gz
MDEC= ${DESTDIR}/usr/mdec
LISTS= ${COMMONDIR}/list
@@ -28,15 +30,15 @@
# 204800 1167k, 29 inodes free
INO_BYTES?= 204800
-CLEANFILES+= netbsd.ram.gz netbsd.tmp*
+CLEANFILES+= ${KERNNAME} ${GZNAME} netbsd.tmp*
-all: netbsd.ram.gz
+all: ${GZNAME}
dd if=/dev/zero of=${IMAGE} bs=100k count=12
vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
disklabel -rw ${VND_CDEV} ${DISKTYPE}
newfs -B be -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV} ${DISKTYPE}
mount ${VND_DEV} ${MOUNT_POINT}
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
+ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} KERN=${GZNAME} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@@ -51,12 +53,14 @@
-vnconfig -u ${VND_DEV}
-/bin/rm -f ${IMAGE}
-netbsd.ram.gz: ${KERN} ${RAMDISK}
+${KERNNAME}: ${KERN} ${RAMDISK}
-/bin/rm -f netbsd.tmp*
cp ${KERN} netbsd.tmp
mdsetimage -v netbsd.tmp ${RAMDISK}
- gzip netbsd.tmp
- mv -f netbsd.tmp.gz ${.TARGET}
+ mv -f netbsd.tmp ${.TARGET}
+
+${GZNAME}: ${KERNNAME}
+ gzip -cv9 ${KERNNAME} > ${.TARGET}
clean cleandir distclean:
/bin/rm -f *.core ${IMAGE} ${CLEANFILES}
diff -r 7ff069b50196 -r 7aa833bf3e9d distrib/x68k/floppies/bootfloppy/Makefile
--- a/distrib/x68k/floppies/bootfloppy/Makefile Wed Apr 07 14:17:10 1999 +0000
+++ b/distrib/x68k/floppies/bootfloppy/Makefile Wed Apr 07 14:30:52 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/10/01 16:49:10 minoura Exp $
+# $NetBSD: Makefile,v 1.3 1999/04/07 14:30:52 minoura Exp $
TOP= ${.CURDIR}/..
@@ -6,5 +6,6 @@
IMAGE= boot.fs
KERN= ${.CURDIR}/../../../../sys/arch/x68k/compile/INSTALL/netbsd
+KERNNAME= netbsd.INSTALL
.include "${TOP}/bootfloppy-common/Makefile.inc"
Home |
Main Index |
Thread Index |
Old Index