1 1.14 tsutsui # $NetBSD: Makefile.inc,v 1.14 2024/09/15 03:56:57 tsutsui Exp $ 2 1.7 lukem # 3 1.7 lukem # etc.macppc/Makefile.inc -- macppc-specific etc Makefile targets 4 1.7 lukem # 5 1.3 thorpej 6 1.8 pavel # If you change the list of distributed kernels, don't forget 7 1.8 pavel # to update the release documentation in distrib/notes/common/contents 8 1.8 pavel 9 1.12 mrg .if ${MACHINE_ARCH} != "powerpc64" 10 1.11 sevan KERNEL_SETS= GENERIC GENERIC.MP GENERIC_601 POWERMAC_G5 \ 11 1.11 sevan POWERMAC_G5.MP 12 1.1 matt 13 1.10 scole BUILD_KERNELS+= INSTALL INSTALL_601 GENERIC_MD 14 1.3 thorpej 15 1.4 lukem INSTALLATION_DIRS+= installation/floppy 16 1.12 mrg .endif 17 1.13 tsutsui 18 1.13 tsutsui # For "make iso-image" 19 1.13 tsutsui # mkisofs arguments to create a hybrid (HFS/Rockridge) CD-ROM image. 20 1.14 tsutsui ETCMACHINEDIR= ${.CURDIR}/etc.${MACHINE} 21 1.13 tsutsui 22 1.14 tsutsui BOOTHFS= ${DESTDIR}/usr/mdec/boothfs 23 1.13 tsutsui 24 1.13 tsutsui MKISOFS_FLAGS+= -hide-rr-moved \ 25 1.14 tsutsui -hfs -part -hide-hfs-list ${ETCMACHINEDIR}/hide-hfs.lst \ 26 1.14 tsutsui --macbin -map ${ETCMACHINEDIR}/hfsmap.lst \ 27 1.14 tsutsui -hide-joliet-list ${ETCMACHINEDIR}/hide-jol.lst \ 28 1.14 tsutsui -boot-hfs-file ${BOOTHFS} 29 1.13 tsutsui # exclude large debug sets to avoid 700MB overflow 30 1.13 tsutsui MKISOFS_FLAGS+= -m debug.tgz -m xdebug.tgz 31 1.13 tsutsui 32 1.13 tsutsui MD_DISTRIBDIR= ${NETBSDSRCDIR}/distrib/${MACHINE} 33 1.13 tsutsui CDINSTKERNEL= ${MD_DISTRIBDIR}/floppies/md-kernel 34 1.13 tsutsui _INSTKERNELNOBJDIR!= cd ${CDINSTKERNEL} && ${PRINTOBJDIR} 35 1.13 tsutsui CDKERNELS= netbsd-INSTALL.gz netbsd 36 1.13 tsutsui CDKERNELS+= netbsd-INSTALL_601.gz netbsd.601 37 1.13 tsutsui 38 1.13 tsutsui iso-image-md-pre: ${BOOTHFS} 39 1.13 tsutsui .for kernel target in ${CDKERNELS} 40 1.13 tsutsui ${INSTALL} ${COPY} -m 0644 \ 41 1.13 tsutsui ${_INSTKERNELNOBJDIR}/${kernel} ${CDROM.dir}/${target} 42 1.13 tsutsui .endfor 43 1.13 tsutsui ${INSTALL} ${COPY} -m 0644 ${DESTDIR}/usr/mdec/ofwboot ${CDROM.dir} 44 1.13 tsutsui ${INSTALL} ${COPY} -m 0644 ${DESTDIR}/usr/mdec/ofwboot.xcf ${CDROM.dir} 45 1.13 tsutsui 46 1.13 tsutsui iso-image: do-iso-image 47 1.13 tsutsui 48 1.13 tsutsui iso-image-md-post: 49 1.13 tsutsui ${TOOL_MACPPCINSTALLBOOT} ${CDROM_IMAGE} \ 50 1.13 tsutsui ${DESTDIR}/usr/mdec/bootxx /ofwboot 51