11.12Snia#	$NetBSD: Makefile,v 1.12 2024/04/25 11:56:51 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.12Snia.  for sufx in tgz tar.xz
261.12SniaCDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-INSTALL.${sufx},,gp'
271.12SniaCDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-MONOLITHIC.${sufx},,gp'
281.12Snia.  endfor
291.12Snia
301.12SniaCDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-INSTALL.gz,,gp'
311.12SniaCDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-MONOLITHIC.gz,,gp'
321.12Snia
331.4Ssborrillprepare_md_post:
341.4Ssborrill	${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
351.1Shubertf
361.1Shubertf.include "${.CURDIR}/../../../common/Makefile.bootcd"
37