Home | History | Annotate | Line # | Download | only in installcd
Makefile revision 1.14
      1  1.14       nia #	$NetBSD: Makefile,v 1.14 2026/01/05 20:25:24 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.14       nia # these are large files, not much use on an installation CD,
     12  1.14       nia # and take up megabytes of precious space
     13  1.14       nia CDSETS_EXCLUDE+=	usr/bin/cpp
     14  1.14       nia CDSETS_EXCLUDE+=	usr/bin/gcpp
     15  1.14       nia CDSETS_EXCLUDE+=	usr/sbin/dhcpd
     16  1.14       nia CDSETS_EXCLUDE+=	usr/sbin/omshell
     17  1.14       nia CDSETS_EXCLUDE+=	usr/sbin/dhcrelay
     18  1.14       nia CDSETS_EXCLUDE+=	usr/sbin/hostapd
     19  1.14       nia CDSETS_EXCLUDE+=	usr/share/misc/magic.mgc
     20  1.14       nia 
     21   1.2    bouyer .include "${.CURDIR}/../Makefile.cdrom"
     22   1.2    bouyer 
     23   1.2    bouyer CDBASE=		i386cd			# gives ${CDBASE}.iso
     24  1.10  christos CDRELEASE=	true                    # include $RELEASEDIR/$RELEASEMACHINEDIR
     25   1.9    martin CDRELEASE_NODEBUG=	true
     26  1.11       nia CDRELEASE_NOHTML=	true
     27  1.11       nia CDRELEASE_NOTESTS=	true
     28   1.5        ad CDBUILDEXTRA+=	boot.cfg		# Add boot.cfg file
     29   1.4  sborrill CLEANFILES+=	boot.cfg
     30   1.4  sborrill 
     31  1.12       nia # already (probably) booting from CD if using this and the floppy images
     32  1.12       nia # are 20MB+ when combined
     33  1.12       nia CDRELEASE_EXCLUDE+=	-s ',./installation/floppy/.*,,gp'
     34  1.12       nia 
     35  1.12       nia # MONOLITHIC (i386-only) was originally added to the release build
     36  1.12       nia # for upgrades from netbsd-5, and now primarily exists so the no-modules
     37  1.12       nia # build can continue to be tested.  this takes up 20MB+ space.
     38  1.13       nia # 
     39  1.13       nia # the INSTALL kernel is not used by the CD-ROMs, and MICROVM should be
     40  1.13       nia # booted directly by QEMU rather than via the installer ISO.
     41  1.13       nia CDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-INSTALL.*,,gp'
     42  1.13       nia CDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-MONOLITHIC.*,,gp'
     43  1.13       nia CDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-MICROVM.*,,gp'
     44  1.13       nia CDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-INSTALL.*,,gp'
     45  1.13       nia CDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-MONOLITHIC.*,,gp'
     46  1.13       nia CDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-MICROVM.*,,gp'
     47  1.12       nia 
     48   1.4  sborrill prepare_md_post:
     49   1.4  sborrill 	${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
     50   1.1   hubertf 
     51   1.1   hubertf .include "${.CURDIR}/../../../common/Makefile.bootcd"
     52