Makefile revision 1.13
11.13Snia#	$NetBSD: Makefile,v 1.13 2026/01/05 19:17:02 nia Exp $
21.1Shubertf#
31.1Shubertf
41.1Shubertf# Install CD, to be made after 'build.sh release'
51.1Shubertf# Requires populated $RELEASEDIR/${MACHINE}
61.1Shubertf
71.5Sad.include <bsd.own.mk>
81.2Sbouyer.include "${.CURDIR}/../Makefile.cdrom"
91.2Sbouyer
101.2SbouyerCDBASE=		i386cd			# gives ${CDBASE}.iso
111.10SchristosCDRELEASE=	true                    # include $RELEASEDIR/$RELEASEMACHINEDIR
121.9SmartinCDRELEASE_NODEBUG=	true
131.11SniaCDRELEASE_NOHTML=	true
141.11SniaCDRELEASE_NOTESTS=	true
151.5SadCDBUILDEXTRA+=	boot.cfg		# Add boot.cfg file
161.4SsborrillCLEANFILES+=	boot.cfg
171.4Ssborrill
181.12Snia# already (probably) booting from CD if using this and the floppy images
191.12Snia# are 20MB+ when combined
201.12SniaCDRELEASE_EXCLUDE+=	-s ',./installation/floppy/.*,,gp'
211.12Snia
221.12Snia# MONOLITHIC (i386-only) was originally added to the release build
231.12Snia# for upgrades from netbsd-5, and now primarily exists so the no-modules
241.12Snia# build can continue to be tested.  this takes up 20MB+ space.
251.13Snia# 
261.13Snia# the INSTALL kernel is not used by the CD-ROMs, and MICROVM should be
271.13Snia# booted directly by QEMU rather than via the installer ISO.
281.13SniaCDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-INSTALL.*,,gp'
291.13SniaCDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-MONOLITHIC.*,,gp'
301.13SniaCDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-MICROVM.*,,gp'
311.13SniaCDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-INSTALL.*,,gp'
321.13SniaCDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-MONOLITHIC.*,,gp'
331.13SniaCDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-MICROVM.*,,gp'
341.12Snia
351.4Ssborrillprepare_md_post:
361.4Ssborrill	${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
371.1Shubertf
381.1Shubertf.include "${.CURDIR}/../../../common/Makefile.bootcd"
39