don't need ../Makefile.inc anymore
be consistent (with other distrib/* dirs) about temp file use
This commit is contained in:
parent
84505c7adf
commit
c3de1627be
@ -1,8 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.6 2002/03/19 11:50:45 reinoud Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2002/04/07 04:21:22 lukem Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
|
||||
.include "${TOP}/Makefile.inc"
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.include <bsd.own.mk>
|
||||
.include <bsd.kernobj.mk>
|
||||
|
||||
@ -11,17 +9,17 @@ KERNELS= INSTALL
|
||||
RAMDISKDIR!= cd $(.CURDIR)/../ramdisk && ${PRINTOBJDIR}
|
||||
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
||||
|
||||
CLEANFILES+= netbsd.tmp ${KERNELS:C/^.*$/netbsd.&.gz/g}
|
||||
CLEANFILES+= netbsd.tmp netbsd.tmp.gz ${KERNELS:C/^.*$/netbsd.&.gz/g}
|
||||
|
||||
realall: ${KERNELS:C/^.*$/netbsd.&.gz/g}
|
||||
|
||||
.for kern in ${KERNELS}
|
||||
netbsd.${kern}.gz: ${KERNOBJDIR}/${kern}/netbsd ${RAMDISK}
|
||||
cp ${KERNOBJDIR}/${kern}/netbsd NB_INST_KNL
|
||||
${MDSETIMAGE} -v NB_INST_KNL ${RAMDISK}
|
||||
${STRIP} NB_INST_KNL
|
||||
gzip -9 NB_INST_KNL
|
||||
mv NB_INST_KNL.gz ${.TARGET}
|
||||
cp ${KERNOBJDIR}/${kern}/netbsd netbsd.tmp
|
||||
${MDSETIMAGE} -v netbsd.tmp ${RAMDISK}
|
||||
${STRIP} netbsd.tmp
|
||||
gzip -9 netbsd.tmp
|
||||
mv netbsd.tmp.gz ${.TARGET}
|
||||
.endfor
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user