Makefile revision 1.17
11.17Snia# $NetBSD: Makefile,v 1.17 2026/01/07 16:08:22 nia Exp $ 21.1Shubertf# 31.1Shubertf 41.1Shubertf# Install CD, to be made after 'build.sh release' 51.1Shubertf# Requires populated $RELEASEDIR/${MACHINE} 61.14Snia# 71.14Snia# Lots of effort to make this continue to fit within 700MB. 81.1Shubertf 91.5Sad.include <bsd.own.mk> 101.14Snia 111.17SniaCDMAKEFSEXTRAOPTS= -m 700m 121.17Snia 131.16Snia.include "${.CURDIR}/../../../common/Makefile.minibase" 141.2Sbouyer.include "${.CURDIR}/../Makefile.cdrom" 151.2Sbouyer 161.2SbouyerCDBASE= i386cd # gives ${CDBASE}.iso 171.10SchristosCDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR 181.9SmartinCDRELEASE_NODEBUG= true 191.11SniaCDRELEASE_NOHTML= true 201.11SniaCDRELEASE_NOTESTS= true 211.5SadCDBUILDEXTRA+= boot.cfg # Add boot.cfg file 221.4SsborrillCLEANFILES+= boot.cfg 231.4Ssborrill 241.12Snia# already (probably) booting from CD if using this and the floppy images 251.12Snia# are 20MB+ when combined 261.12SniaCDRELEASE_EXCLUDE+= -s ',./installation/floppy/.*,,gp' 271.12Snia 281.12Snia# MONOLITHIC (i386-only) was originally added to the release build 291.12Snia# for upgrades from netbsd-5, and now primarily exists so the no-modules 301.12Snia# build can continue to be tested. this takes up 20MB+ space. 311.13Snia# 321.13Snia# the INSTALL kernel is not used by the CD-ROMs, and MICROVM should be 331.13Snia# booted directly by QEMU rather than via the installer ISO. 341.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-INSTALL.*,,gp' 351.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MONOLITHIC.*,,gp' 361.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MICROVM.*,,gp' 371.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-INSTALL.*,,gp' 381.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MONOLITHIC.*,,gp' 391.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MICROVM.*,,gp' 401.12Snia 411.4Ssborrillprepare_md_post: 421.4Ssborrill ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg 431.1Shubertf 441.1Shubertf.include "${.CURDIR}/../../../common/Makefile.bootcd" 45