1 1.12 nia # $NetBSD: Makefile,v 1.12 2024/04/25 11:56:51 nia Exp $ 2 1.1 hubertf # 3 1.1 hubertf 4 1.1 hubertf # Install CD, to be made after 'build.sh release' 5 1.1 hubertf # Requires populated $RELEASEDIR/${MACHINE} 6 1.1 hubertf 7 1.5 ad .include <bsd.own.mk> 8 1.2 bouyer .include "${.CURDIR}/../Makefile.cdrom" 9 1.2 bouyer 10 1.2 bouyer CDBASE= i386cd # gives ${CDBASE}.iso 11 1.10 christos CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR 12 1.9 martin CDRELEASE_NODEBUG= true 13 1.11 nia CDRELEASE_NOHTML= true 14 1.11 nia CDRELEASE_NOTESTS= true 15 1.5 ad CDBUILDEXTRA+= boot.cfg # Add boot.cfg file 16 1.4 sborrill CLEANFILES+= boot.cfg 17 1.4 sborrill 18 1.12 nia # already (probably) booting from CD if using this and the floppy images 19 1.12 nia # are 20MB+ when combined 20 1.12 nia CDRELEASE_EXCLUDE+= -s ',./installation/floppy/.*,,gp' 21 1.12 nia 22 1.12 nia # MONOLITHIC (i386-only) was originally added to the release build 23 1.12 nia # for upgrades from netbsd-5, and now primarily exists so the no-modules 24 1.12 nia # build can continue to be tested. this takes up 20MB+ space. 25 1.12 nia . for sufx in tgz tar.xz 26 1.12 nia CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-INSTALL.${sufx},,gp' 27 1.12 nia CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MONOLITHIC.${sufx},,gp' 28 1.12 nia . endfor 29 1.12 nia 30 1.12 nia CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-INSTALL.gz,,gp' 31 1.12 nia CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MONOLITHIC.gz,,gp' 32 1.12 nia 33 1.4 sborrill prepare_md_post: 34 1.4 sborrill ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg 35 1.1 hubertf 36 1.1 hubertf .include "${.CURDIR}/../../../common/Makefile.bootcd" 37