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.
This commit is contained in:
bouyer 2007-03-06 21:56:47 +00:00
parent 04825266e6
commit fee07bcfd4
120 changed files with 726 additions and 76 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.246 2006/09/07 03:51:44 dbj Exp $
# $NetBSD: Makefile,v 1.247 2007/03/06 21:56:47 bouyer Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@ -314,6 +314,7 @@ release snapshot: .PHONY .MAKE
#
iso-image: .PHONY
${MAKEDIRTARGET} distrib iso_image
${MAKEDIRTARGET} etc iso-image
@echo "make ${.TARGET} started at: ${START_TIME}"
@printf "make ${.TARGET} finished at: " && date

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2004/05/12 16:56:41 cl Exp $
# $NetBSD: Makefile,v 1.14 2007/03/06 21:56:47 bouyer Exp $
.include <bsd.own.mk>
@ -17,5 +17,6 @@ SUBDIR+= utils
.endif
TARGETS+=release
TARGETS+=iso_image
.include <bsd.subdir.mk>

View File

@ -1,3 +1,5 @@
# $NetBSD: Makefile.inc,v 1.8 2002/05/02 18:02:14 lukem Exp $
# $NetBSD: Makefile.inc,v 1.9 2007/03/06 21:56:47 bouyer Exp $
.include "../Makefile.inc"
iso_image: .PHONY

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/05/02 18:02:16 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:56:47 bouyer Exp $
SUBDIR= instkernel
SUBDIR= instkernel cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:47 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:48 bouyer Exp $
CDBASE= acorn26cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,13 +1,16 @@
# $NetBSD: Makefile,v 1.17 2003/01/03 15:34:31 lukem Exp $
# $NetBSD: Makefile,v 1.18 2007/03/06 21:56:48 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
SUBDIR= ramdisk .WAIT kernels stand
SUBDIR= ramdisk .WAIT kernels stand cdroms
TARGETS+= release
release: check_RELEASEDIR
${RELEASE_INSTALL} ${DISTRIBDIR}/notes/acorn32/prep.RISCOS \
${RELEASEDIR}/${MACHINE}/
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:48 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:48 bouyer Exp $
CDBASE= acorn26cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.21 2003/01/03 15:34:31 lukem Exp $
# $NetBSD: Makefile,v 1.22 2007/03/06 21:56:49 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
SUBDIR= instkernel # floppy-GENERIC
SUBDIR= instkernel cdroms # floppy-GENERIC
TARGETS+= release
release: check_RELEASEDIR .WAIT README.files
@ -12,4 +12,7 @@ release: check_RELEASEDIR .WAIT README.files
${RELEASEDIR}/${MACHINE}/installation/$i
.endfor
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:49 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,12 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:49 bouyer Exp $
CDBASE= alphacd # gives ${CDBASE}.iso
CDINSTKERNEL= ../../instkernel/instkernel
CDKERNELS= netbsd netbsd
CDRELEASE= true # include $RELEASEDIR/$MACHINE
#make the CD bootable
image_md_post:
${TOOL_INSTALLBOOT} -m${MACHINE} ${CDBASE}.iso bootxx.${MACHINE}
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.2 2004/06/30 03:26:27 jmc Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:56:49 bouyer Exp $
SUBDIR= stand
SUBDIR= stand cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:50 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:50 bouyer Exp $
CDBASE= amigacd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.2 2002/05/02 18:02:24 lukem Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:56:54 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel .WAIT cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:54 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:54 bouyer Exp $
CDBASE= arccd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.5 2004/12/12 08:25:59 jmc Exp $
# $NetBSD: Makefile,v 1.6 2007/03/06 21:56:55 bouyer Exp $
SUBDIR= floppies misc
SUBDIR= floppies misc cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:55 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:55 bouyer Exp $
CDBASE= ataricd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.2 2002/04/11 22:54:01 lukem Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:56:55 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel .WAIT cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:55 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:56 bouyer Exp $
CDBASE= catscd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
CDKERNELS= netbsd.aout-INSTALL netbsd
CDINSTKERNEL= ../../instkernel
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2002/10/30 12:42:24 tsutsui Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:56:56 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:56 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:56 bouyer Exp $
CDBASE= dreamcastcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,9 +1,12 @@
# $NetBSD: Makefile,v 1.7 2002/05/02 18:02:31 lukem Exp $
# $NetBSD: Makefile,v 1.8 2007/03/06 21:56:58 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
SUBDIR= gzboot instkernel
SUBDIR= gzboot instkernel cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:58 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:58 bouyer Exp $
CDBASE= evbarmcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2006/09/11 06:12:23 riz Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:56:59 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -6,6 +6,9 @@
.if ${MACHINE_ARCH} == "mipsel"
SUBDIR= instkernel
.endif
TARGETS+= release
TARGETS+= release cdroms
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:59 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:56:59 bouyer Exp $
CDBASE= evbmips-${MACHINE_ARCH}cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2002/12/09 14:20:53 scw Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:56:59 bouyer Exp $
SUBDIR= ramdisk .WAIT md-kernel
SUBDIR= ramdisk .WAIT md-kernel cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:00 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:00 bouyer Exp $
CDBASE= evbppccd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2005/12/29 16:01:30 tsutsui Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:57:00 bouyer Exp $
SUBDIR= floppies
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:00 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:01 bouyer Exp $
CDBASE= ews4800mipscd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,13 +1,16 @@
# $NetBSD: Makefile,v 1.16 2003/01/03 15:34:33 lukem Exp $
# $NetBSD: Makefile,v 1.17 2007/03/06 21:57:01 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel cdroms
TARGETS+= release
release: check_RELEASEDIR .WAIT HP-IB.geometry
${RELEASE_INSTALL} ${.CURDIR}/HP-IB.geometry \
${RELEASEDIR}/${MACHINE}/installation/misc
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:01 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:01 bouyer Exp $
CDBASE= hp300cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2005/05/18 14:04:26 chs Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:57:02 bouyer Exp $
SUBDIR= ramdisk .WAIT kernel
SUBDIR= ramdisk .WAIT kernel cdroms
TARGETS+=release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:02 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:02 bouyer Exp $
CDBASE= hp700cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,8 +1,14 @@
# $NetBSD: Makefile,v 1.2 2005/12/30 11:48:15 rjs Exp $
# $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}
@ -22,10 +28,10 @@ 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>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:03 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:03 bouyer Exp $
CDBASE= hpcarmcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,8 +1,14 @@
# $NetBSD: Makefile,v 1.27 2005/07/04 08:17:00 he Exp $
# $NetBSD: Makefile,v 1.28 2007/03/06 21:57:03 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}
@ -26,6 +32,7 @@ UUDECODE_FILES_RENAME_${HPCBOOT}= ${HPCBOOT}
.include "${DISTRIBDIR}/common/Makefile.mdset"
release:: check_RELEASEDIR .WAIT ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
${MAKEDIRTARGET} cdroms release
${INSTALL} -c -m ${NONBINMODE} \
pbsdboot1.exe ${RELEASEDIR}/${MACHINE}/installation
${INSTALL} -c -m ${NONBINMODE} \

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:04 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:04 bouyer Exp $
CDBASE= hpcmipscd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,8 +1,14 @@
# $NetBSD: Makefile,v 1.5 2004/03/19 08:07:28 jmc Exp $
# $NetBSD: Makefile,v 1.6 2007/03/06 21:57:04 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}
@ -27,6 +33,7 @@ hpcboot-sh4.exe.uue:
cp ${HPCBOOT_SH4}/hpcboot.exe.uue hpcboot-sh4.exe.uue
release:: check_RELEASEDIR .WAIT hpcboot-sh3.exe hpcboot-sh4.exe
${MAKEDIRTARGET} cdroms release
cp hpcboot-sh3.exe ${RELEASEDIR}/${MACHINE}/installation; \
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh3.exe
cp hpcboot-sh4.exe ${RELEASEDIR}/${MACHINE}/installation; \

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:05 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:05 bouyer Exp $
CDBASE= hpcshcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2003/10/19 03:37:16 matt Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:57:05 bouyer Exp $
SUBDIR= netboot
SUBDIR= netboot cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:05 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:06 bouyer Exp $
CDBASE= ibmnwscd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.14 2003/01/03 15:34:33 lukem Exp $
# $NetBSD: Makefile,v 1.15 2007/03/06 21:57:06 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
.include <bsd.kernobj.mk>
SUBDIR= floppies
SUBDIR= floppies cdroms
TARGETS+= release
BOOTOBJ!= cd ${KERNSRCDIR}/arch/macppc/stand/ofwboot && ${PRINTOBJDIR}
@ -14,4 +14,7 @@ OFWBOOTERS= ${BOOTOBJ}/ofwboot.elf ${BOOTOBJ}/ofwboot.xcf
release: check_RELEASEDIR .WAIT ${OWFBOOTERS}
${RELEASE_INSTALL} ${OFWBOOTERS} ${RELEASEDIR}/${MACHINE}/installation
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:06 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:07 bouyer Exp $
CDBASE= macppccd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/04/12 00:32:38 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:07 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:07 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:07 bouyer Exp $
CDBASE= mipscocd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/04/12 13:58:08 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:10 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:10 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:10 bouyer Exp $
CDBASE= mvme68kcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,7 +1,11 @@
# $NetBSD: Makefile,v 1.2 2002/04/09 16:46:16 bjh21 Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:57:10 bouyer Exp $
# No install stuff yet.
release:
SUBDIR= cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:10 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:11 bouyer Exp $
CDBASE= mvmeppccd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/05/02 18:02:43 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:11 bouyer Exp $
SUBDIR= floppies
SUBDIR= floppies cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:11 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:11 bouyer Exp $
CDBASE= news68kcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/05/02 18:02:45 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:12 bouyer Exp $
SUBDIR= floppies
SUBDIR= floppies cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:12 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:12 bouyer Exp $
CDBASE= newsmipscd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,10 @@
# $NetBSD: Makefile,v 1.1 2002/09/21 01:44:11 chs Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:57:12 bouyer Exp $
#SUBDIR= ramdisk .WAIT instkernel
#SUBDIR= ramdisk .WAIT instkernel cdroms
SUBDIR= cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:12 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:14 bouyer Exp $
CDBASE= ofppccd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,5 +1,9 @@
# $NetBSD: Makefile,v 1.3 1999/04/11 13:22:10 jonb Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:14 bouyer Exp $
SUBDIR= floppies
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:14 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:14 bouyer Exp $
CDBASE= pc532cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2002/05/08 21:44:58 lukem Exp $
# $NetBSD: Makefile,v 1.13 2007/03/06 21:57:15 bouyer Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -12,3 +12,11 @@ MDSET_RELEASEDIR= installation
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>
SUBDIR= cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:15 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:15 bouyer Exp $
CDBASE= playstation2cd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/04/12 05:53:50 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:15 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel .WAIT cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:16 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:16 bouyer Exp $
CDBASE= pmaxcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
CDKERNELS= netbsd-INSTALL.gz netbsd
CDINSTKERNEL= ../../instkernel
#make the CD bootable
image_md_post:
${TOOL_INSTALLBOOT} -m${MACHINE} ${CDBASE}.iso bootxx.${MACHINE}
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2002/05/30 23:51:03 augustss Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:57:16 bouyer Exp $
SUBDIR= floppies
SUBDIR= floppies cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:17 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:17 bouyer Exp $
CDBASE= pmppccd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.2 2002/04/12 14:07:37 lukem Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:57:17 bouyer Exp $
SUBDIR= floppies
SUBDIR= floppies cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:17 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:18 bouyer Exp $
CDBASE= prepcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.3 2002/04/12 14:04:40 lukem Exp $
# $NetBSD: Makefile,v 1.4 2007/03/06 21:57:18 bouyer Exp $
SUBDIR= floppies
SUBDIR= floppies cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:18 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:21 bouyer Exp $
CDBASE= sandpointcd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.1 2002/05/21 20:54:16 rafal Exp $
# $NetBSD: Makefile,v 1.2 2007/03/06 21:57:21 bouyer Exp $
SUBDIR= ramdisk .WAIT instkernel
SUBDIR= ramdisk .WAIT instkernel .WAIT cdroms
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:21 bouyer Exp $
SUBDIR= installcd
TARGETS+= release iso_image
.include <bsd.subdir.mk>

View File

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2007/03/06 21:57:22 bouyer Exp $
CDBASE= sgimipscd # gives ${CDBASE}.iso
CDRELEASE= true # include $RELEASEDIR/$MACHINE
CDKERNELS= netbsd-INSTALL32_IP2x.gz ip2x
CDKERNELS+= netbsd-INSTALL32_IP3x.gz ip3x
CDINSTKERNEL= ../../instkernel
SGIVOLHDR.size= 4096
image_md_post:
@echo "Prepending SGI volume header:"
mv ${CDBASE}.iso ${CDBASE}.iso.tmp
dd if=/dev/zero of=${CDBASE}.iso bs=512 count=${SGIVOLHDR.size}
dd if=${CDBASE}.iso.tmp of=${CDBASE}.iso bs=512 seek=${SGIVOLHDR.size}
${TOOLDIR}/bin/nbsgivol -f -i -h ${SGIVOLHDR.size} ${CDBASE}.iso
${TOOLDIR}/bin/nbsgivol -f -w aoutboot ${DESTDIR}/usr/mdec/aoutboot ${CDBASE}.iso
${TOOLDIR}/bin/nbsgivol -f -w ip2xboot ${DESTDIR}/usr/mdec/ip2xboot ${CDBASE}.iso
${TOOLDIR}/bin/nbsgivol -f -w ip3xboot ${DESTDIR}/usr/mdec/ip3xboot ${CDBASE}.iso
${RM} -f ${CDBASE}.iso.tmp
.include "${.CURDIR}/../../../common/Makefile.bootcd"

View File

@ -1,6 +1,9 @@
# $NetBSD: Makefile,v 1.2 2002/04/12 00:13:17 lukem Exp $
# $NetBSD: Makefile,v 1.3 2007/03/06 21:57:22 bouyer Exp $
SUBDIR= instkernel
SUBDIR= instkernel cdrom
TARGETS+= release
iso_image:
${MAKEDIRTARGET} cdroms iso_image
.include <bsd.subdir.mk>

Some files were not shown because too many files have changed in this diff Show More