Makefile revision 1.10.8.1 1 1.10.8.1 martin # $NetBSD: Makefile,v 1.10.8.1 2024/05/11 14:31:57 martin 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.5 ad CDBUILDEXTRA+= boot.cfg # Add boot.cfg file
14 1.4 sborrill CLEANFILES+= boot.cfg
15 1.4 sborrill
16 1.10.8.1 martin # already (probably) booting from CD if using this and the floppy images
17 1.10.8.1 martin # are 20MB+ when combined
18 1.10.8.1 martin CDRELEASE_EXCLUDE+= -s ',./installation/floppy/.*,,gp'
19 1.10.8.1 martin
20 1.10.8.1 martin # MONOLITHIC (i386-only) was originally added to the release build
21 1.10.8.1 martin # for upgrades from netbsd-5, and now primarily exists so the no-modules
22 1.10.8.1 martin # build can continue to be tested. this takes up 20MB+ space.
23 1.10.8.1 martin . for sufx in tgz tar.xz
24 1.10.8.1 martin CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-INSTALL.${sufx},,gp'
25 1.10.8.1 martin CDRELEASE_EXCLUDE+= -s ',./binary/sets/kern-MONOLITHIC.${sufx},,gp'
26 1.10.8.1 martin . endfor
27 1.10.8.1 martin
28 1.10.8.1 martin CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-INSTALL.gz,,gp'
29 1.10.8.1 martin CDRELEASE_EXCLUDE+= -s ',./binary/kernel/netbsd-MONOLITHIC.gz,,gp'
30 1.10.8.1 martin
31 1.4 sborrill prepare_md_post:
32 1.4 sborrill ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
33 1.1 hubertf
34 1.1 hubertf .include "${.CURDIR}/../../../common/Makefile.bootcd"
35