2002-04-09 03:15:50 +04:00
|
|
|
# $NetBSD: Makefile,v 1.54 2002/04/08 23:15:50 bjh21 Exp $
|
1995-12-19 01:47:26 +03:00
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
1997-01-08 10:22:43 +03:00
|
|
|
.include <bsd.own.mk>
|
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
|
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-03-06 15:04:48 +03:00
|
|
|
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
|
|
|
|
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
|
|
|
|
${_SRC_TOP_}/etc/services
|
2002-03-16 04:32:21 +03:00
|
|
|
PARSELISTENV= ARCHDIR=${ARCHDIR:Q} \
|
|
|
|
DISTRIBREV=${DISTRIBREV:Q} \
|
|
|
|
DISTRIBVER=${DISTRIBVER:Q} \
|
|
|
|
KERNOBJDIR=${KERNOBJDIR:Q}
|
2002-04-09 03:15:50 +04:00
|
|
|
MAKESUMS= CKSUM=${CKSUM:Q} sh ${DISTRIBDIR}/sets/makesums
|
2000-11-01 10:57:55 +03:00
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
.include "${ARCHDIR}/Makefile.inc"
|
1995-12-19 01:47:26 +03:00
|
|
|
|
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
all: check_DESTDIR .WAIT image
|
|
|
|
@true
|
1995-12-19 01:47:26 +03:00
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
release: check_RELEASEDIR .WAIT image
|
2000-04-17 01:27:00 +04:00
|
|
|
mkdir -p ${RELEASEDIR}/installation/miniroot
|
|
|
|
gzip -c -9 < ${.OBJDIR}/miniroot.fs \
|
|
|
|
> ${RELEASEDIR}/installation/miniroot/miniroot.fs.gz
|
2002-04-09 03:15:50 +04:00
|
|
|
${MAKESUMS} -t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz
|
2000-05-02 10:45:24 +04:00
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
image: ${IMAGE} image_md_post
|
|
|
|
|
2002-03-18 07:08:47 +03:00
|
|
|
image_md_post:
|
|
|
|
# nothing here; refer to machine-dependant ${ARCHDIR}/Makefile.inc
|
|
|
|
|
1999-10-19 00:13:55 +04:00
|
|
|
|
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
|
|
|
|
2002-03-06 15:04:48 +03:00
|
|
|
.include <bsd.prog.mk>
|