Makefile.inc revision 1.35
1# $NetBSD: Makefile.inc,v 1.35 2023/06/02 20:49:07 lukem Exp $ 2# 3# etc.sparc64/Makefile.inc -- sparc64-specific etc Makefile targets 4# 5 6# If you change the list of distributed kernels, don't forget 7# to update the release documentation in distrib/notes/common/contents 8 9KERNEL_SETS= GENERIC GENERIC.UP 10 11BUILD_KERNELS+= INSTALL 12 13MD_INSTALLATION_DIRS= installation/miniroot \ 14 installation/netboot \ 15 installation/misc 16INSTALLATION_DIRS+= ${MD_INSTALLATION_DIRS} 17 18snap_md_post: 19 # Install miniroot images and auxiliary scripts to the release tree 20.if exists($(XSRCDIR)/xc/Imakefile) 21 # build X11 22.ifndef XSRC_DONE 23 (cd $(XSRCDIR); $(MAKE) release) 24.endif 25.endif 26 27 # install boot image and installation scripts in netboot directory 28.for file in ofwboot.net 29 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/${file} \ 30 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot 31.endfor 32.for file in ofwboot bootblk 33 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/${file} \ 34 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 35.endfor 36.for file in installboot 37 ${HOST_INSTALL_FILE} -m ${BINMODE} ${DESTDIR}/usr/sbin/${file} \ 38 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 39.endfor 40 41 # compute checksums 42.for dir in ${MD_INSTALLATION_DIRS} 43 ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*' 44.endfor 45 46 47ISOBOOTFILEDIR!=cd ${.CURDIR}/../distrib/${MACHINE}/bootfs && ${PRINTOBJDIR} 48ISOBOOTFILE?= ${ISOBOOTFILEDIR}/boot.fs 49 50iso-image-md-post: 51 SUNLABEL=${TOOL_SUNLABEL:Q} \ 52 ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \ 53 ${CDROM_IMAGE} - - - - ${ISOBOOTFILE} 54