Makefile revision 1.13 1 # $NetBSD: Makefile,v 1.13 2026/01/05 19:17:02 nia Exp $
2 #
3
4 # Install CD, to be made after 'build.sh release'
5 # Requires populated $RELEASEDIR/${MACHINE}
6
7 .include <bsd.own.mk>
8 .include "${.CURDIR}/../Makefile.cdrom"
9
10 CDBASE= i386cd # gives ${CDBASE}.iso
11 CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR
12 CDRELEASE_NODEBUG= true
13 CDRELEASE_NOHTML= true
14 CDRELEASE_NOTESTS= true
15 CDBUILDEXTRA+= boot.cfg # Add boot.cfg file
16 CLEANFILES+= boot.cfg
17
18 # already (probably) booting from CD if using this and the floppy images
19 # are 20MB+ when combined
20 CDRELEASE_EXCLUDE+= -s ',./installation/floppy/.*,,gp'
21
22 # MONOLITHIC (i386-only) was originally added to the release build
23 # for upgrades from netbsd-5, and now primarily exists so the no-modules
24 # build can continue to be tested. this takes up 20MB+ space.
25 #
26 # the INSTALL kernel is not used by the CD-ROMs, and MICROVM should be
27 # booted directly by QEMU rather than via the installer ISO.
28 CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-INSTALL.*,,gp'
29 CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MONOLITHIC.*,,gp'
30 CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MICROVM.*,,gp'
31 CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-INSTALL.*,,gp'
32 CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MONOLITHIC.*,,gp'
33 CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MICROVM.*,,gp'
34
35 prepare_md_post:
36 ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
37
38 .include "${.CURDIR}/../../../common/Makefile.bootcd"
39