d67b6a35e5
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.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile.bootfloppy,v 1.23 2011/02/10 00:43:20 jym Exp $
|
|
#
|
|
# Makefile snippet to create a set of USTAR floppies
|
|
#
|
|
|
|
#
|
|
# Required variables:
|
|
# FLOPPYBASE Basename of floppies. Floppy number ${n} will
|
|
# be generated as ${FLOPPYBASE}${n}.fs
|
|
# FLOPPYKERNEL Kernel to copy
|
|
#
|
|
# Optional variables:
|
|
# FLOPPYKERNDIR ${FLOPPYKERNEL} is from ${.CURDIR}/../../${FLOPPYKERNDIR}
|
|
# FLOPPY_BOOT Bootstrap to use. [${DESTDIR}/usr/mdec/boot]
|
|
# FLOPPYBOOTOPTIONS Options for installboot, eg -o console=com0
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
FLOPPYSIZE?= 2880
|
|
.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880)
|
|
FLOPPYMETAFILE!= printf "USTAR.volsize.%o" ${FLOPPYSIZE}
|
|
.else
|
|
FLOPPYSIZE= 2880
|
|
.endif
|
|
FLOPPYKERNDIR?= instkernel
|
|
FLOPPYSUFFIX?= .fs
|
|
MDEC= ${DESTDIR}/usr/mdec
|
|
FLOPPYINSTBOOT= "${TOOL_INSTALLBOOT} ${FLOPPYBOOTOPTIONS} -m${MACHINE} @IMAGE@ ${MDEC}/bootxx_ustarfs"
|
|
FLOPPYKERNOBJ!= cd ${.CURDIR}/../../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
|
|
|
|
FLOPPY_BOOT?= ${MDEC}/boot
|
|
FLOPPY_BOOT_CFG?= ${DISTRIBDIR}/${MACHINE}/floppies/common/boot.cfg
|
|
FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
|
|
FLOPPYFILES= boot boot.cfg ${FLOPPYMETAFILE} netbsd
|
|
FLOPPYPAD= 1
|
|
|
|
FLOPPY_RELEASEDIR= installation/floppy
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.tarfloppy"
|
|
|
|
.include <bsd.prog.mk>
|