NetBSD/distrib/hpcarm/Makefile
bouyer fee07bcfd4 Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
2007-03-06 21:56:47 +00:00

38 lines
935 B
Makefile

# $NetBSD: Makefile,v 1.3 2007/03/06 21:57:02 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
SUBDIR= cdroms
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>
.include <bsd.kernobj.mk>
MINIROOTOBJ!= cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
MINIROOT= ${MINIROOTOBJ}/miniroot.fs
MDSETTARGETS= INSTALL_IPAQ ${MINIROOT} netbsd-IPAQ
MDSET_RELEASEDIR= installation
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand/binary/ARM
HPCBOOT= hpcboot.exe
.PATH: ${HPCBOOTDIR}
UUDECODE_FILES= ${HPCBOOT}
UUDECODE_FILES_RENAME_${HPCBOOT}= ${HPCBOOT}
.include "${DISTRIBDIR}/common/Makefile.mdset"
release:: check_RELEASEDIR .WAIT ${HPCBOOT}
${MAKEDIRTARGET} cdroms release
${INSTALL} -c -m ${NONBINMODE} \
hpcboot.exe ${RELEASEDIR}/${MACHINE}/installation
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
.include <bsd.files.mk>
.include <bsd.prog.mk>