Makefile revision 1.16 1 1.16 nia # $NetBSD: Makefile,v 1.16 2026/01/06 09:29:21 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.14 nia #
7 1.14 nia # Lots of effort to make this continue to fit within 700MB.
8 1.1 hubertf
9 1.5 ad .include <bsd.own.mk>
10 1.14 nia
11 1.16 nia .include "${.CURDIR}/../../../common/Makefile.minibase"
12 1.2 bouyer .include "${.CURDIR}/../Makefile.cdrom"
13 1.2 bouyer
14 1.2 bouyer CDBASE= i386cd # gives ${CDBASE}.iso
15 1.10 christos CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR
16 1.9 martin CDRELEASE_NODEBUG= true
17 1.11 nia CDRELEASE_NOHTML= true
18 1.11 nia CDRELEASE_NOTESTS= true
19 1.5 ad CDBUILDEXTRA+= boot.cfg # Add boot.cfg file
20 1.4 sborrill CLEANFILES+= boot.cfg
21 1.4 sborrill
22 1.12 nia # already (probably) booting from CD if using this and the floppy images
23 1.12 nia # are 20MB+ when combined
24 1.12 nia CDRELEASE_EXCLUDE+= -s ',./installation/floppy/.*,,gp'
25 1.12 nia
26 1.12 nia # MONOLITHIC (i386-only) was originally added to the release build
27 1.12 nia # for upgrades from netbsd-5, and now primarily exists so the no-modules
28 1.12 nia # build can continue to be tested. this takes up 20MB+ space.
29 1.13 nia #
30 1.13 nia # the INSTALL kernel is not used by the CD-ROMs, and MICROVM should be
31 1.13 nia # booted directly by QEMU rather than via the installer ISO.
32 1.13 nia CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-INSTALL.*,,gp'
33 1.13 nia CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MONOLITHIC.*,,gp'
34 1.13 nia CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MICROVM.*,,gp'
35 1.13 nia CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-INSTALL.*,,gp'
36 1.13 nia CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MONOLITHIC.*,,gp'
37 1.13 nia CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MICROVM.*,,gp'
38 1.12 nia
39 1.4 sborrill prepare_md_post:
40 1.4 sborrill ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
41 1.1 hubertf
42 1.1 hubertf .include "${.CURDIR}/../../../common/Makefile.bootcd"
43