2009-09-20 23:49:07 +04:00
|
|
|
# $NetBSD: Makefile,v 1.68 2009/09/20 19:49:09 abs Exp $
|
1995-12-19 01:47:26 +03:00
|
|
|
|
1997-01-08 10:22:43 +03:00
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-10 20:14:11 +04:00
|
|
|
|
2000-05-02 10:45:24 +04:00
|
|
|
.include <bsd.kernobj.mk>
|
1997-01-08 10:22:43 +03:00
|
|
|
|
1995-12-19 01:47:26 +03:00
|
|
|
ARCHDIR= ${.CURDIR}/../${MACHINE}/miniroot
|
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
CRUNCHBIN= instbin
|
2002-04-23 23:44:14 +04:00
|
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
1996-05-27 16:39:01 +04:00
|
|
|
LISTS= ${.CURDIR}/list ${ARCHDIR}/list
|
2002-03-06 15:04:48 +03:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGE= miniroot.fs
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} install.sub install.sh upgrade.sh \
|
2002-03-18 01:30:31 +03:00
|
|
|
${KERNSRCDIR}/conf/osrelease.sh \
|
2002-04-26 19:50:21 +04:00
|
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
2009-09-20 23:49:07 +04:00
|
|
|
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
|
|
|
|
${DISTRIBDIR}/common/services
|
2002-03-16 04:32:21 +03:00
|
|
|
PARSELISTENV= ARCHDIR=${ARCHDIR:Q} \
|
|
|
|
DISTRIBREV=${DISTRIBREV:Q} \
|
|
|
|
DISTRIBVER=${DISTRIBVER:Q} \
|
|
|
|
KERNOBJDIR=${KERNOBJDIR:Q}
|
2000-11-01 10:57:55 +03:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
IMAGE_RELEASEDIR= installation/miniroot
|
1995-12-19 01:47:26 +03:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${ARCHDIR}/Makefile.inc"
|
1999-10-19 00:13:55 +04:00
|
|
|
|
2002-05-07 18:59:34 +04:00
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
${CRUNCHBIN}: libhack.o
|
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.if defined(MAKEDEVTARGETS)
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.endif
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
1995-12-19 01:47:26 +03:00
|
|
|
|
2008-09-19 21:23:32 +04:00
|
|
|
release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
|
2008-06-23 06:16:53 +04:00
|
|
|
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
|
2002-05-02 22:02:14 +04:00
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
.include <bsd.prog.mk>
|