Makefile revision 1.16
11.16Snia# $NetBSD: Makefile,v 1.16 2026/01/06 09:29:21 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.16Snia.include "${.CURDIR}/../../../common/Makefile.minibase" 121.2Sbouyer.include "${.CURDIR}/../Makefile.cdrom" 131.2Sbouyer 141.2SbouyerCDBASE= i386cd # gives ${CDBASE}.iso 151.10SchristosCDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR 161.9SmartinCDRELEASE_NODEBUG= true 171.11SniaCDRELEASE_NOHTML= true 181.11SniaCDRELEASE_NOTESTS= true 191.5SadCDBUILDEXTRA+= boot.cfg # Add boot.cfg file 201.4SsborrillCLEANFILES+= boot.cfg 211.4Ssborrill 221.12Snia# already (probably) booting from CD if using this and the floppy images 231.12Snia# are 20MB+ when combined 241.12SniaCDRELEASE_EXCLUDE+= -s ',./installation/floppy/.*,,gp' 251.12Snia 261.12Snia# MONOLITHIC (i386-only) was originally added to the release build 271.12Snia# for upgrades from netbsd-5, and now primarily exists so the no-modules 281.12Snia# build can continue to be tested. this takes up 20MB+ space. 291.13Snia# 301.13Snia# the INSTALL kernel is not used by the CD-ROMs, and MICROVM should be 311.13Snia# booted directly by QEMU rather than via the installer ISO. 321.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-INSTALL.*,,gp' 331.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MONOLITHIC.*,,gp' 341.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MICROVM.*,,gp' 351.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-INSTALL.*,,gp' 361.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MONOLITHIC.*,,gp' 371.13SniaCDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MICROVM.*,,gp' 381.12Snia 391.4Ssborrillprepare_md_post: 401.4Ssborrill ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg 411.1Shubertf 421.1Shubertf.include "${.CURDIR}/../../../common/Makefile.bootcd" 43