NetBSD/distrib/sun2/Makefile
tsutsui 3cf69f27e2 Add "live-image" and "install-image" target support to build.sh.
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00

26 lines
801 B
Makefile

# $NetBSD: Makefile,v 1.10 2012/01/22 03:53:33 tsutsui Exp $
SUBDIR= ramdisk miniroot cdroms liveimage
TARGETS+= release
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
release: check_RELEASEDIR .WAIT \
${DESTDIR}/usr/mdec/bootyy ${DESTDIR}/usr/mdec/netboot \
${DESTDIR}/usr/mdec/tapeboot MakeBootTape MakeInstTape
${RELEASE_INSTALL} \
${DESTDIR}/usr/mdec/bootyy ${DESTDIR}/usr/mdec/netboot \
${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
${RELEASE_INSTALL} ${DESTDIR}/usr/mdec/tapeboot \
${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/tapeimage
iso_image:
${MAKEDIRTARGET} cdroms iso_image
live_image:
${MAKEDIRTARGET} liveimage live_image
.include <bsd.subdir.mk>