Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/distrib/x68k/floppies/ramdisk Pullup rev.1.8 and 1.9.



details:   https://anonhg.NetBSD.org/src/rev/70c594b27fb4
branches:  netbsd-1-4
changeset: 468240:70c594b27fb4
user:      minoura <minoura%NetBSD.org@localhost>
date:      Thu Apr 15 16:32:08 1999 +0000

description:
Pullup rev.1.8 and 1.9.

diffstat:

 distrib/x68k/floppies/ramdisk/Makefile |  23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r 24013592cad3 -r 70c594b27fb4 distrib/x68k/floppies/ramdisk/Makefile
--- a/distrib/x68k/floppies/ramdisk/Makefile    Thu Apr 15 16:30:33 1999 +0000
+++ b/distrib/x68k/floppies/ramdisk/Makefile    Thu Apr 15 16:32:08 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 1999/03/24 15:54:45 minoura Exp $
+#      $NetBSD: Makefile,v 1.7.2.1 1999/04/15 16:32:08 minoura Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -24,8 +24,6 @@
 CRUNCHCONF=    ${CBIN}.conf
 MTREE=         mtree.conf
 
-DISKTYPE=      floppy5
-
 install.sh: install.tmpl
        sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET}
 
@@ -36,10 +34,9 @@
        sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET}
 
 all: ${AUXTARGETS} ${CBIN} 
-       dd if=/dev/zero of=${IMAGE} count=2400
-       vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
-       disklabel -rw ${VND_CDEV} ${DISKTYPE}
-       newfs -B be -m 0 -o space -i 5120 -c 80 ${VND_RDEV} ${DISKTYPE}
+       dd if=/dev/zero of=${IMAGE} count=2048
+       vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/16/2/64
+       newfs -B be -m 0 -o space -i 5120 -c 80 ${VND_RDEV}
        mount ${VND_DEV} ${MOUNT_POINT}
        mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
        TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
@@ -61,9 +58,19 @@
 ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
        make -f ${CBIN}.mk all
 
+# Use size-reduced libhack.
+${CBIN}: libhack.o
+
+HACKSRC=${TOP}/../../utils/libhack
+.include "${HACKSRC}/Makefile.inc"
+
 clean cleandir distclean:
        /bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
 
+.if make(clean) || make(cleandir) || make(distclean) || make(depend) || make(obj)
+UTILDIR=       ../../../utils
+SUBDIR+=       ${UTILDIR}/init_s ${UTILDIR}/x_ifconfig ${UTILDIR}/x_route
+.endif
+
 .include <bsd.obj.mk>
 .include <bsd.subdir.mk>
-



Home | Main Index | Thread Index | Old Index