Kernel must be gzipped to boot.
Correct CLEANFILES. Reviewed by lukem@netbsd.org
This commit is contained in:
parent
b3cba06420
commit
25a181f53b
|
@ -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 @@ FLOPPYSUFFIX= .fs
|
|||
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>
|
||||
|
|
Loading…
Reference in New Issue