Source-Changes-HG archive

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

[src/trunk]: src/distrib/i386/floppies Build bootfloppy-small, as a 1.44MB fl...



details:   https://anonhg.NetBSD.org/src/rev/e8bc39328dd5
branches:  trunk
changeset: 485805:e8bc39328dd5
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat May 06 05:32:28 2000 +0000

description:
Build bootfloppy-small, as a 1.44MB floppy image.

diffstat:

 distrib/i386/floppies/Makefile                  |   5 ++-
 distrib/i386/floppies/bootfloppy-small/Makefile |   8 +++---
 distrib/i386/floppies/ramdisk-kernel/Makefile   |  26 +++++++++---------------
 3 files changed, 17 insertions(+), 22 deletions(-)

diffs (80 lines):

diff -r 99e479b56ceb -r e8bc39328dd5 distrib/i386/floppies/Makefile
--- a/distrib/i386/floppies/Makefile    Sat May 06 05:31:58 2000 +0000
+++ b/distrib/i386/floppies/Makefile    Sat May 06 05:32:28 2000 +0000
@@ -1,6 +1,7 @@
-#      $NetBSD: Makefile,v 1.14 2000/05/05 21:37:05 mycroft Exp $
+#      $NetBSD: Makefile,v 1.15 2000/05/06 05:32:28 mycroft Exp $
 
-SUBDIR=        ramdisk ramdisk-kernel fdset bootfloppy-big bootfloppy-tiny
+SUBDIR=        ramdisk ramdisk-kernel \
+       fdset bootfloppy-big bootfloppy-small bootfloppy-tiny
 
 TARGETS+=release
 
diff -r 99e479b56ceb -r e8bc39328dd5 distrib/i386/floppies/bootfloppy-small/Makefile
--- a/distrib/i386/floppies/bootfloppy-small/Makefile   Sat May 06 05:31:58 2000 +0000
+++ b/distrib/i386/floppies/bootfloppy-small/Makefile   Sat May 06 05:32:28 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2000/05/05 21:35:51 mycroft Exp $
+#      $NetBSD: Makefile,v 1.7 2000/05/06 05:32:29 mycroft Exp $
 
 TOP=   ${.CURDIR}/..
 
@@ -9,8 +9,8 @@
         printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/netbsd.INSTALL_SMALL.gz\n" | \
        ${MAKE} -s -f-
 
-DISKTYPE=      floppy5
-DISKSIZE=      2400
-BLOCK8K=       149
+DISKTYPE=      floppy3
+DISKSIZE=      2880
+BLOCK8K=       179
 
 .include "${TOP}/bootfloppy-common/Makefile.inc"
diff -r 99e479b56ceb -r e8bc39328dd5 distrib/i386/floppies/ramdisk-kernel/Makefile
--- a/distrib/i386/floppies/ramdisk-kernel/Makefile     Sat May 06 05:31:58 2000 +0000
+++ b/distrib/i386/floppies/ramdisk-kernel/Makefile     Sat May 06 05:32:28 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2000/05/05 20:13:33 mycroft Exp $
+#      $NetBSD: Makefile,v 1.3 2000/05/06 05:32:29 mycroft Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -10,27 +10,21 @@
 
 COMMONDIR=     ${TOP}/bootfloppy-common
 LISTS=         ${COMMONDIR}/list
-RAMDISK        !=cd $(.CURDIR)/../ramdisk/; \
-        printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
-       ${MAKE} -s -f-
+RAMDISK!=      cd $(.CURDIR)/../ramdisk/; \
+               printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
+               ${MAKE} -s -f-
 
-KERNELS=       netbsd.INSTALL.gz netbsd.INSTALL_TINY.gz
-
-all: ${KERNELS}
-
-netbsd.INSTALL.gz: ${KERNOBJDIR}/INSTALL/netbsd ${RAMDISK}
-       cp ${KERNOBJDIR}/INSTALL/netbsd netbsd.tmp
+.for kernel in INSTALL INSTALL_SMALL INSTALL_TINY
+netbsd.${kernel}.gz: .NOTMAIN ${KERNOBJDIR}/${kernel}/netbsd ${RAMDISK}
+       cp ${KERNOBJDIR}/${kernel}/netbsd netbsd.tmp
        ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
        ${STRIP} netbsd.tmp
        gzip -9 netbsd.tmp
        mv netbsd.tmp.gz ${.TARGET}
+KERNELS+=      netbsd.${kernel}.gz
+.endfor
 
-netbsd.INSTALL_TINY.gz: ${KERNOBJDIR}/INSTALL_TINY/netbsd ${RAMDISK}
-       cp ${KERNOBJDIR}/INSTALL_TINY/netbsd netbsd.tmp
-       ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
-       ${STRIP} netbsd.tmp
-       gzip -9 netbsd.tmp
-       mv netbsd.tmp.gz ${.TARGET}
+all: ${KERNELS}
 
 release:
        -mkdir -p ${RELEASEDIR}/binary/kernel



Home | Main Index | Thread Index | Old Index