Home | History | Annotate | Line # | Download | only in installcd
      1 #	$NetBSD: Makefile,v 1.12 2024/04/25 11:56:51 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 .  for sufx in tgz tar.xz
     26 CDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-INSTALL.${sufx},,gp'
     27 CDRELEASE_EXCLUDE+=	-s ',./binary/sets/kern-MONOLITHIC.${sufx},,gp'
     28 .  endfor
     29 
     30 CDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-INSTALL.gz,,gp'
     31 CDRELEASE_EXCLUDE+=	-s ',./binary/kernel/netbsd-MONOLITHIC.gz,,gp'
     32 
     33 prepare_md_post:
     34 	${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
     35 
     36 .include "${.CURDIR}/../../../common/Makefile.bootcd"
     37