1 1.13 tsutsui # $NetBSD: Makefile.inc,v 1.13 2024/06/08 13:07:48 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.13 tsutsui # XXX: files in ${DISTRIB_CDROMDIR} should be moved under distrib/macppc/cdrom? 21 1.13 tsutsui DISTRIB_CDROMDIR= ${NETBSDSRCDIR}/distrib/cdrom 22 1.13 tsutsui 23 1.13 tsutsui BOOTHFS= boothfs 24 1.13 tsutsui UUDECODE_FILES= ${BOOTHFS} 25 1.13 tsutsui .SUFFIXES: .uue 26 1.13 tsutsui .PATH.uue: ${DISTRIB_CDROMDIR} 27 1.13 tsutsui 28 1.13 tsutsui MKISOFS_FLAGS+= -hide-rr-moved \ 29 1.13 tsutsui -hfs -part -hide-hfs-list ${DISTRIB_CDROMDIR}/hide-hfs.lst \ 30 1.13 tsutsui --macbin -map ${DISTRIB_CDROMDIR}/hfsmap.lst \ 31 1.13 tsutsui -hide-joliet-list ${DISTRIB_CDROMDIR}/hide-jol.lst \ 32 1.13 tsutsui -boot-hfs-file ${.OBJDIR}/${BOOTHFS} 33 1.13 tsutsui # exclude large debug sets to avoid 700MB overflow 34 1.13 tsutsui MKISOFS_FLAGS+= -m debug.tgz -m xdebug.tgz 35 1.13 tsutsui 36 1.13 tsutsui MD_DISTRIBDIR= ${NETBSDSRCDIR}/distrib/${MACHINE} 37 1.13 tsutsui CDINSTKERNEL= ${MD_DISTRIBDIR}/floppies/md-kernel 38 1.13 tsutsui _INSTKERNELNOBJDIR!= cd ${CDINSTKERNEL} && ${PRINTOBJDIR} 39 1.13 tsutsui CDKERNELS= netbsd-INSTALL.gz netbsd 40 1.13 tsutsui CDKERNELS+= netbsd-INSTALL_601.gz netbsd.601 41 1.13 tsutsui 42 1.13 tsutsui iso-image-md-pre: ${BOOTHFS} 43 1.13 tsutsui .for kernel target in ${CDKERNELS} 44 1.13 tsutsui ${INSTALL} ${COPY} -m 0644 \ 45 1.13 tsutsui ${_INSTKERNELNOBJDIR}/${kernel} ${CDROM.dir}/${target} 46 1.13 tsutsui .endfor 47 1.13 tsutsui ${INSTALL} ${COPY} -m 0644 ${DESTDIR}/usr/mdec/ofwboot ${CDROM.dir} 48 1.13 tsutsui ${INSTALL} ${COPY} -m 0644 ${DESTDIR}/usr/mdec/ofwboot.xcf ${CDROM.dir} 49 1.13 tsutsui 50 1.13 tsutsui iso-image: do-iso-image 51 1.13 tsutsui 52 1.13 tsutsui iso-image-md-post: 53 1.13 tsutsui ${TOOL_MACPPCINSTALLBOOT} ${CDROM_IMAGE} \ 54 1.13 tsutsui ${DESTDIR}/usr/mdec/bootxx /ofwboot 55