Source-Changes-HG archive

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

[src/trunk]: src/distrib/x68k/floppies/bootfloppy.generic Kernel must be gzip...



details:   https://anonhg.NetBSD.org/src/rev/24ac9ed985c8
branches:  trunk
changeset: 535429:24ac9ed985c8
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sun Aug 18 14:43:00 2002 +0000

description:
Kernel must be gzipped to boot.
Correct CLEANFILES.

Reviewed by lukem%netbsd.org@localhost

diffstat:

 distrib/x68k/floppies/bootfloppy.generic/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 6c017f1ada2c -r 24ac9ed985c8 distrib/x68k/floppies/bootfloppy.generic/Makefile
--- a/distrib/x68k/floppies/bootfloppy.generic/Makefile Sun Aug 18 14:06:54 2002 +0000
+++ b/distrib/x68k/floppies/bootfloppy.generic/Makefile Sun Aug 18 14:43:00 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2002/05/19 08:12:05 isaki Exp $
+#      $NetBSD: Makefile,v 1.6 2002/08/18 14:43:00 isaki Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -14,17 +14,22 @@
 FLOPPY_RELEASEDIR=     installation/floppy
 
 MDEC=          ${DESTDIR}/usr/mdec
-KERNOBJ!=      cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
-FLOPPY_NETBSD= ${KERNOBJDIR}/GENERIC/netbsd
+FLOPPY_NETBSD= netbsd.gz
 # XXXDISTRIB: use MI installboot
 FLOPPYINSTBOOT=\
        "dd if=${MDEC}/fdboot_ustar of=@IMAGE@ bs=8k count=1 conv=sync,notrunc"
 
+CLEANFILES+=   ${BOOTNAME} netbsd.gz
+
 ${BOOTNAME}: ${MDEC}/boot
        @echo "Copying ${.ALLSRC} to ${.TARGET}"
        @rm -f ${.TARGET}
        @cp ${.ALLSRC} ${.TARGET}
 
+netbsd.gz:     ${KERNOBJDIR}/GENERIC/netbsd
+       @rm -f ${.TARGET}
+       gzip -9c ${.ALLSRC} > ${.TARGET}
+
 .include "${DISTRIBDIR}/common/Makefile.tarfloppy"
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index