Simplify even more.
This commit is contained in:
parent
fd1c084a68
commit
321e2e723e
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2002/03/29 22:53:30 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2002/03/30 01:33:20 matt Exp $
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.include <bsd.own.mk>
|
||||
@ -10,25 +10,20 @@ IMAGE= boot.fs
|
||||
IMAGESIZE= 1200k
|
||||
XXBOOT= ${DESTDIR}/usr/mdec/xxboot_ustarfs
|
||||
|
||||
IMAGEDEPENDS= ${XXBOOT} boot netbsd.gz
|
||||
CLEANFILES+= netbsd.gz boot ${IMAGE}.tmp
|
||||
IMAGEDEPENDS= ${XXBOOT} boot.vax netbsd.gz
|
||||
CLEANFILES+= netbsd.gz boot.vax ${IMAGE}.tmp
|
||||
|
||||
realall: ${IMAGE} ${XXBOOT} ${DESTDIR}/usr/mdec/boot
|
||||
|
||||
netbsd.gz: ${INSTKERNOBJ}/netbsd.INSTALL.gz
|
||||
cp -f ${.ALLSRC} ${.TARGET}
|
||||
|
||||
boot: ${DESTDIR}/usr/mdec/boot
|
||||
boot.vax: ${DESTDIR}/usr/mdec/boot
|
||||
cp -f ${.ALLSRC} ${.TARGET}
|
||||
|
||||
${IMAGE}: ${IMAGEDEPENDS}
|
||||
echo USTARFS 0 > ${IMAGE}.tmp
|
||||
pax -w -x ustar boot netbsd.gz | dd of=${IMAGE}.tmp seek=16
|
||||
.if ${USETOOLS} == "yes"
|
||||
${TOOLDIR}/bin/nbvax-installboot -v ${IMAGE}.tmp ${XXBOOT}
|
||||
.else
|
||||
${DESTDIR}/usr/mdec/installboot -v ${IMAGE}.tmp ${XXBOOT}
|
||||
.endif
|
||||
cat ${XXBOOT} > ${IMAGE}.tmp
|
||||
${PAX} -w -x ustar boot.vax netbsd.gz | dd of=${IMAGE}.tmp seek=16
|
||||
dd if=${IMAGE}.tmp of=${IMAGE} obs=${IMAGESIZE} conv=osync
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user