NetBSD/distrib/i386/instkernel/Makefile
jym d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00

46 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2011/02/10 00:43:20 jym Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
# create ${RAMDISK_*} variables
#
RAMDISKS= RAMDISK_B ramdisk-big
# RAMDISKS+= RAMDISK_S ramdisk-small
# RAMDISKS+= RAMDISK_T ramdisk-tiny
# RAMDISKS+= RESCUE_T ramdisk-rescuetiny
.for V F in ${RAMDISKS}
${V}DIR!= cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
${V}= ${${V}DIR}/${F}.fs
.endfor
# If you change the list of distributed install kernels, don't forget
# to update the release documentation in distrib/notes/common/contents
MDSETTARGETS+= GENERIC ${RAMDISK_B} -
MDSETTARGETS+= INSTALL ${RAMDISK_B} -
MDSETTARGETS+= INSTALL_XEN3_DOMU ${RAMDISK_B} -
MDSETTARGETS+= INSTALL_XEN3PAE_DOMU ${RAMDISK_B} -
# MDSETTARGETS+= INSTALL_FLOPPY ${RAMDISK_B} -
# MDSETTARGETS+= INSTALL_SMALL ${RAMDISK_S} -
# MDSETTARGETS+= INSTALL_TINY ${RAMDISK_T} -
# MDSETTARGETS+= INSTALL_PS2 ${RAMDISK_S} -
# MDSETTARGETS+= INSTALL_TINY ${RESCUE_T} netbsd-RESCUE_TINY
MDSET_RELEASEDIR= binary/kernel
# need symbols to load modules. don't actually want image inserted.
MDSET_NOSTRIP.netbsd-GENERIC=
MDSET_NOIMAGE.netbsd-GENERIC=
# do not strip Xen kernels, there's no space constraints here.
MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
MDSET_NOSTRIP.netbsd-INSTALL_XEN3PAE_DOMU=
# do not strip any other kernels, it is done by Makefile.tarfloppy before
# they are written to a floppy.
MDSET_NOSTRIP=
MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3PAE_DOMU=
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>