2003-01-03 18:34:30 +03:00
|
|
|
# $NetBSD: Makefile.images,v 1.5 2003/01/03 15:34:32 lukem Exp $
|
2002-04-13 01:11:46 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-13 01:11:46 +04:00
|
|
|
|
|
|
|
.include <bsd.kernobj.mk>
|
|
|
|
|
|
|
|
CRUNCHBIN= instbin
|
|
|
|
LISTS= ${.CURDIR}/list ${.CURDIR}/../common/list.images
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
2002-05-02 22:02:14 +04:00
|
|
|
IMAGEENDIAN= be
|
|
|
|
IMAGEDEPENDS+= ${CRUNCHBIN} \
|
2002-04-26 19:50:21 +04:00
|
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd
|
2002-05-02 22:02:14 +04:00
|
|
|
|
|
|
|
IMAGE_RELEASEDIR= installation/miniroot
|
2002-04-13 01:11:46 +04:00
|
|
|
|
|
|
|
.if defined(USE_SYSINST)
|
|
|
|
LISTS+= ${DISTRIBDIR}/common/list.sysinst
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# Use stubs to eliminate some large stuff from libc
|
2002-04-26 19:50:21 +04:00
|
|
|
HACKSRC=${DISTRIBDIR}/utils/libhack
|
2002-04-13 01:11:46 +04:00
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
${CRUNCHBIN}: libhack.o
|
|
|
|
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.if defined(MAKEDEVTARGETS)
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.endif
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
|
2002-05-07 07:34:16 +04:00
|
|
|
release:: check_RELEASEDIR
|
2003-01-03 18:34:30 +03:00
|
|
|
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
|
2002-05-02 22:02:14 +04:00
|
|
|
|
2002-04-13 01:11:46 +04:00
|
|
|
.include <bsd.prog.mk>
|