ed8e534c7e
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.60 2002/05/02 18:02:41 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
.include <bsd.kernobj.mk>
|
|
|
|
ARCHDIR= ${.CURDIR}/../${MACHINE}/miniroot
|
|
|
|
CRUNCHBIN= instbin
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
|
LISTS= ${.CURDIR}/list ${ARCHDIR}/list
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGE= miniroot.fs
|
|
IMAGEDEPENDS= ${CRUNCHBIN} install.sub install.sh upgrade.sh \
|
|
${KERNSRCDIR}/conf/osrelease.sh \
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
|
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
|
|
${NETBSDSRCDIR}/etc/services
|
|
PARSELISTENV= ARCHDIR=${ARCHDIR:Q} \
|
|
DISTRIBREV=${DISTRIBREV:Q} \
|
|
DISTRIBVER=${DISTRIBVER:Q} \
|
|
KERNOBJDIR=${KERNOBJDIR:Q}
|
|
|
|
IMAGE_RELEASEDIR= installation/miniroot
|
|
|
|
.include "${ARCHDIR}/Makefile.inc"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
.if defined(MAKEDEVTARGETS)
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
.endif
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
release: check_RELEASEDIR .WAIT
|
|
${MAKESUMS} -t ${RELEASEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
|
|
|
|
.include <bsd.prog.mk>
|