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-07 00:56:47 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2007/03/06 21:57:04 bouyer Exp $
|
2002-06-26 16:30:52 +04:00
|
|
|
|
2002-07-02 08:14:36 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-06-26 16:30:52 +04:00
|
|
|
|
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-07 00:56:47 +03:00
|
|
|
SUBDIR= cdroms
|
|
|
|
|
|
|
|
iso_image:
|
|
|
|
${MAKEDIRTARGET} cdroms iso_image
|
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
2002-07-02 08:14:36 +04:00
|
|
|
.include <bsd.kernobj.mk>
|
2002-06-26 16:30:52 +04:00
|
|
|
|
2002-07-02 08:14:36 +04:00
|
|
|
MINIROOTOBJ!= cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
|
|
|
|
MINIROOT= ${MINIROOTOBJ}/miniroot.fs
|
|
|
|
|
|
|
|
MDSETTARGETS= RAMDISK ${MINIROOT} netbsd
|
|
|
|
MDSET_RELEASEDIR= installation
|
|
|
|
|
|
|
|
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand
|
2004-03-19 11:07:22 +03:00
|
|
|
HPCBOOT_SH3= ${HPCBOOTDIR}/binary/SH3
|
|
|
|
HPCBOOT_SH4= ${HPCBOOTDIR}/binary/SH4
|
|
|
|
|
|
|
|
UUDECODE_FILES= hpcboot-sh3.exe hpcboot-sh4.exe
|
|
|
|
UUDECODE_FILES_RENAME_hpcboot-sh3.exe= hpcboot-sh3.exe
|
|
|
|
UUDECODE_FILES_RENAME_hpcboot-sh4.exe= hpcboot-sh4.exe
|
|
|
|
|
|
|
|
CLEANFILES+= hpcboot-sh3.exe.uue hpcboot-sh4.exe.uue
|
|
|
|
|
|
|
|
hpcboot-sh3.exe.uue:
|
|
|
|
cp ${HPCBOOT_SH3}/hpcboot.exe.uue hpcboot-sh3.exe.uue
|
|
|
|
hpcboot-sh4.exe.uue:
|
|
|
|
cp ${HPCBOOT_SH4}/hpcboot.exe.uue hpcboot-sh4.exe.uue
|
|
|
|
|
|
|
|
release:: check_RELEASEDIR .WAIT hpcboot-sh3.exe hpcboot-sh4.exe
|
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-07 00:56:47 +03:00
|
|
|
${MAKEDIRTARGET} cdroms release
|
2004-03-19 11:07:22 +03:00
|
|
|
cp hpcboot-sh3.exe ${RELEASEDIR}/${MACHINE}/installation; \
|
|
|
|
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh3.exe
|
|
|
|
cp hpcboot-sh4.exe ${RELEASEDIR}/${MACHINE}/installation; \
|
|
|
|
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh4.exe
|
2003-01-03 18:34:30 +03:00
|
|
|
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
|
2002-07-02 08:14:36 +04:00
|
|
|
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
|
2004-03-19 11:07:22 +03:00
|
|
|
.include <bsd.files.mk>
|
2002-07-02 08:14:36 +04:00
|
|
|
.include <bsd.prog.mk>
|