Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# $NetBSD: 4.0.conf,v 1.5 2008/01/11 11:37:03 tsutsui Exp $
#
# Makefile fragment for CD sets; includes config information.

##############################################################################
# The NetBSD release being packaged on this CD set.  This also implies
# inclusion of a config file for that release, named NetBSD-${CD_RELEASE}.mk.
# That file defines the various per-port specifics for that release.

CD_RELEASE=	4.0

##############################################################################
# The NetBSD release to be used in the .iso image filenames.  Defaults to
# ${CD_RELEASE} but can be overridden in the environment.

ISO_RELEASE?=	${CD_RELEASE}

##############################################################################
# The names of the individual CD images, without ".iso".
# This also indicates the suffix of configuration variables later in this file
# which are CD-image specific.

CD_IMAGES=
.if defined(TARGET_CD_IMAGE)
.for targetcd in ${TARGET_CD_IMAGE}
CD_IMAGES+=	${targetcd}-${ISO_RELEASE}
.endfor
.else
CD_IMAGES+=	multi-cd1-${ISO_RELEASE}
CD_IMAGES+=	multi-cd2-${ISO_RELEASE}
CD_IMAGES+=	multi-cd3-${ISO_RELEASE}
CD_IMAGES+=	acorn26cd-${ISO_RELEASE}
CD_IMAGES+=	acorn32cd-${ISO_RELEASE}
CD_IMAGES+=	algorcd-${ISO_RELEASE}
CD_IMAGES+=	alphacd-${ISO_RELEASE}
CD_IMAGES+=	amd64cd-${ISO_RELEASE}
CD_IMAGES+=	amigacd-${ISO_RELEASE}
CD_IMAGES+=	arccd-${ISO_RELEASE} 
CD_IMAGES+=	ataricd-${ISO_RELEASE}
CD_IMAGES+=	catscd-${ISO_RELEASE}
CD_IMAGES+=	cesficcd-${ISO_RELEASE}
CD_IMAGES+=	cobaltcd-${ISO_RELEASE}
CD_IMAGES+=	dreamcastcd-${ISO_RELEASE}
CD_IMAGES+=	evbarmcd-${ISO_RELEASE} 
CD_IMAGES+=	evbmips-mipsebcd-${ISO_RELEASE}
CD_IMAGES+=	evbmips-mipselcd-${ISO_RELEASE}
CD_IMAGES+=	evbppccd-${ISO_RELEASE}
CD_IMAGES+=	evbsh3-sh3ebcd-${ISO_RELEASE} 
CD_IMAGES+=	evbsh3-sh3elcd-${ISO_RELEASE}
CD_IMAGES+=	evbsh5-sh5elcd-${ISO_RELEASE}
CD_IMAGES+=	hp300cd-${ISO_RELEASE}
CD_IMAGES+=	hp700cd-${ISO_RELEASE}
CD_IMAGES+=	hpcarmcd-${ISO_RELEASE}
CD_IMAGES+=	hpcmipscd-${ISO_RELEASE}
CD_IMAGES+=	hpcshcd-${ISO_RELEASE}
CD_IMAGES+=	i386cd-${ISO_RELEASE}
CD_IMAGES+=	ibmnwscd-${ISO_RELEASE}
CD_IMAGES+=	iyonix-${ISO_RELEASE}
CD_IMAGES+=	luna68kcd-${ISO_RELEASE}
CD_IMAGES+=	mac68kcd-${ISO_RELEASE}
CD_IMAGES+=	macppccd-${ISO_RELEASE}
CD_IMAGES+=	mipscocd-${ISO_RELEASE}
CD_IMAGES+=	mmeyecd-${ISO_RELEASE} 
CD_IMAGES+=	mvmeppccd-${ISO_RELEASE}
CD_IMAGES+=	mvme68kcd-${ISO_RELEASE}
CD_IMAGES+=	netwindercd-${ISO_RELEASE}
CD_IMAGES+=	news68kcd-${ISO_RELEASE}
CD_IMAGES+=	newsmipscd-${ISO_RELEASE}
CD_IMAGES+=	next68kcd-${ISO_RELEASE} 
CD_IMAGES+=	ofppccd-${ISO_RELEASE}
CD_IMAGES+=	pmaxcd-${ISO_RELEASE}
CD_IMAGES+=	pmppccd-${ISO_RELEASE}
CD_IMAGES+=	prepcd-${ISO_RELEASE}
CD_IMAGES+=	sandpointcd-${ISO_RELEASE}
CD_IMAGES+=	sbmips-mipsebcd-${ISO_RELEASE} 
CD_IMAGES+=	sbmips-mipselcd-${ISO_RELEASE}
CD_IMAGES+=	sgimipscd-${ISO_RELEASE}
CD_IMAGES+=	sharkcd-${ISO_RELEASE}
CD_IMAGES+=	sourcecd-${ISO_RELEASE}
CD_IMAGES+=	sparccd-${ISO_RELEASE}
CD_IMAGES+=	sparc64cd-${ISO_RELEASE} 
CD_IMAGES+=	sun2cd-${ISO_RELEASE}
CD_IMAGES+=	sun3cd-${ISO_RELEASE}
CD_IMAGES+=	vaxcd-${ISO_RELEASE}
CD_IMAGES+=	x68kcd-${ISO_RELEASE}
.endif

##############################################################################
# The maximum size of an individual CD.

CD_SIZE=	700000

##############################################################################
# The CD volume IDs for each CD-ROM image.  This will show up as the
# "volume label" on most operating systems.  This is REQUIRED for each image.
# Typically only 16 characters should be used for maximum OS compatibility.

.for image in ${CD_IMAGES}
VOLID.${image}=	NetBSD ${CD_RELEASE} ${image:S/-${ISO_RELEASE}$//}
.endfor

# The "abstract file" name.  If there is a file in the CD root describing
# use of the CD or booting info, this may be useful to some OS's.

#.for image in ${CD_IMAGES}
#ABSTRACT.${image}=	booting.txt
#.endfor

# The "copyright file" name.  If there is a file in the CD root describing
# the copyright of the contained files, this may be useful to some OS's.
# This usually needs ADDFILES to go along with it.

#.for image in ${CD_IMAGES}
#COPYRIGHT.${image}=	copyrght.txt
#ADDFILES.${image}+=	copyrght.txt:${.CURDIR}/extra/copyright.txt,link
#.endfor

# The "publisher name" field on the CD-ROM.  Room for 128 characters.

PUBLISHER=		The NetBSD Foundation, Inc. / http://www.NetBSD.org/

# The "preparer name" field on the CD-ROM.  Room for 128 characters.

PREPARER=		NetBSD CD Build System

##############################################################################
# The ports for which the base OS binaries will be included.
# MACHINE_ARCH shared distribution directories and the "ALL" shared
# distribution directory are added automatically where needed.
#
# The following ports, if included, will be bootable on their respective
# CD images:
#
#     alpha, amd64, cats, i386, macppc, pmax, sgimips, sparc, sparc64, sun3, vax.
#
# Special notes on booting:
#
# * macppc and mac68k will cause the inclusion of HFS partition and
#   filesystem info on the CD, with automatic MacBinary probing and encoding.
#
# * macppc cannot boot on the same disc as either pmax or vax.
#   macppc uses the same locations in block 0 to store boot
#   information as pmax and vax.
#   This will cause a warning in the build, and macppc will override.
#
# * sparc64 cannot boot using default boot arguments on the same disc as
#   the sun3x model of sun3.  These platforms use the same partitions
#   in the Sun boot map by default.  This will cause a warning in the build,
#   and sparc64 machines will have to boot with "boot cdrom:g" instead of
#   "boot cdrom".
#
# * sgimips must be on a disc on its own
#

BASE_PORTS.multi-cd1-${ISO_RELEASE}= amd64 sparc sparc64 macppc

BASE_PORTS.multi-cd2-${ISO_RELEASE} = alpha \
		amiga atari mac68k next68k sun3

BASE_PORTS.multi-cd3-${ISO_RELEASE}= i386 \
		cobalt hpcmips pmax # vax

BASE_PORTS.acorn26cd-${ISO_RELEASE}=acorn26
BASE_PORTS.acorn32cd-${ISO_RELEASE}=acorn32
BASE_PORTS.algorcd-${ISO_RELEASE}=algor
BASE_PORTS.alphacd-${ISO_RELEASE}=alpha
BASE_PORTS.amd64cd-${ISO_RELEASE}=amd64
BASE_PORTS.amigacd-${ISO_RELEASE}=amiga
BASE_PORTS.arccd-${ISO_RELEASE}=arc
BASE_PORTS.ataricd-${ISO_RELEASE}=atari
BASE_PORTS.catscd-${ISO_RELEASE}=cats
BASE_PORTS.cesficcd-${ISO_RELEASE}=cesfic
BASE_PORTS.cobaltcd-${ISO_RELEASE}=cobalt
BASE_PORTS.dreamcastcd-${ISO_RELEASE}=dreamcast
BASE_PORTS.evbarmcd-${ISO_RELEASE}=evbarm
BASE_PORTS.evbmips-mipsebcd-${ISO_RELEASE}=evbmips-mipseb
BASE_PORTS.evbmips-mipselcd-${ISO_RELEASE}=evbmips-mipsel
BASE_PORTS.evbsh3-sh3ebcd-${ISO_RELEASE}=evbsh3-sh3eb
BASE_PORTS.evbsh3-sh3elcd-${ISO_RELEASE}=evbsh3-sh3el
BASE_PORTS.evbsh5-sh5elcd-${ISO_RELEASE}=evbsh5-sh5el
BASE_PORTS.hp300cd-${ISO_RELEASE}=hp300
BASE_PORTS.hpcarmcd-${ISO_RELEASE}=hpcarm
BASE_PORTS.hpcmipscd-${ISO_RELEASE}=hpcmips
BASE_PORTS.hpcshcd-${ISO_RELEASE}=hpcsh
BASE_PORTS.i386cd-${ISO_RELEASE}=i386
BASE_PORTS.iyonixcd-${ISO_RELEASE}=iyonix
BASE_PORTS.ibmnwscd-${ISO_RELEASE}=ibmnws
BASE_PORTS.luna68kcd-${ISO_RELEASE}=luna68k
BASE_PORTS.mac68kcd-${ISO_RELEASE}=mac68k
BASE_PORTS.macppccd-${ISO_RELEASE}=macppc
BASE_PORTS.mipscocd-${ISO_RELEASE}=mipsco
BASE_PORTS.mmeyecd-${ISO_RELEASE}=mmeye
BASE_PORTS.mvme68kcd-${ISO_RELEASE}=mvme68k
BASE_PORTS.mvmeppccd-${ISO_RELEASE}=mvmeppc
BASE_PORTS.netwindercd-${ISO_RELEASE}=netwinder
BASE_PORTS.news68kcd-${ISO_RELEASE}=news68k
BASE_PORTS.newsmipscd-${ISO_RELEASE}=newsmips
BASE_PORTS.next68kcd-${ISO_RELEASE}=next68k
BASE_PORTS.ofppccd-${ISO_RELEASE}=ofppc
BASE_PORTS.pmaxcd-${ISO_RELEASE}=pmax
BASE_PORTS.pmppccd-${ISO_RELEASE}=pmppc
BASE_PORTS.prepcd-${ISO_RELEASE}=prep
BASE_PORTS.sandpointcd-${ISO_RELEASE}=sandpoint
BASE_PORTS.sbmips-mipsebcd-${ISO_RELEASE}=sbmips-mipseb
BASE_PORTS.sbmips-mipselcd-${ISO_RELEASE}=sbmips-mipsel
BASE_PORTS.sgimipscd-${ISO_RELEASE}=sgimips
BASE_PORTS.sharkcd-${ISO_RELEASE}=shark
BASE_PORTS.sourcecd-${ISO_RELEASE}=source
BASE_PORTS.sparccd-${ISO_RELEASE}=sparc
BASE_PORTS.sparc64cd-${ISO_RELEASE}=sparc64
BASE_PORTS.sun2cd-${ISO_RELEASE}=sun2
BASE_PORTS.sun3cd-${ISO_RELEASE}=sun3
BASE_PORTS.vaxcd-${ISO_RELEASE}=vax
BASE_PORTS.x68kcd-${ISO_RELEASE}=x68k

.for image in ${CD_IMAGES}
#INTDIRS.${image}+=	packages
BASE_PORTS.${image}+=	CHANGES CHANGES.prev LAST_MINUTE README.files
.endfor

##############################################################################
# These provide additional functionality to some host OS's that may or may
# not be desired in some cases.  Uncomment to enable, or comment out to
# disable.

# USE_ROCK_RIDGE adds -r to mkisofs to use full Un*x style pathnames and
# permissions.  For most situations, this is needed.

USE_ROCK_RIDGE=	yes

# USE_LONG_NAMES adds -l to mkisofs to use full 32-character ISO-9660 names.
# This allows some host OS's, particularly AmigaDOS, the ability to see long
# filenames in most cases.

USE_LONG_NAMES=	yes

# USE_TRANS_TBL adds -T to mkisofs to provide long names through the use of
# TRANS.TBL translation table files.  (These will automatically be hidden
# from Joliet and HFS trees.)  Typically this is not used in conjunction
# with USE_LONG_NAMES, but may be used if names still exceed 32 characters.

#USE_TRANS_TBL=	yes

# USE_JOLIET adds -J to mkisofs to provide Joliet long filename support for
# Microsoft Windows OS's

USE_JOLIET=	yes

# USE_APPLE_ISO adds -apple to mkisofs to provide the Apple ISO-9660
# Extensions.  This gives full MacOS attribute information to files without
# the overhead of full HFS.  (A disc that is forced into HFS mode by the
# presence of mac68k or macppc will use HFS, not the Apple ISO Extensions.)

USE_APPLE_ISO=	yes

# LOG_MKISOFS causes the mkisofs command to be logged in "extra verbose"
# mode (-v -v) to the image filename with .log appended.

#LOG_MKISOFS=	yes

##############################################################################
# "Easter egg" file.  If this option is present, the standard 32k end padding
# is replaced by a message in this file (no more than 16k), padded to 32k
# with null bytes.

#EASTER_EGG=	${.CURDIR}/extra/egg.txt

##############################################################################