73faefbb9f
updating. Probably to an ACPI kernel that need not fit into an 'emulated floppy' and a 'legacy' kernel that will fit. In any case the small/tiny kernels which are really for i386 systems with < 16MB of memory (some are sized for a 5.25" floppy) don't need to be built. Remove bootfloppy-small, bootfloppy-tiny, rescue-tiny and bootfloppy-ps2 and associated ramdisks.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2006/11/19 11:17:51 dsl 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
|
|
|
|
MDSETTARGETS= INSTALL ${RAMDISK_B} -
|
|
MDSETTARGETS+= INSTALL_LAPTOP ${RAMDISK_B} -
|
|
MDSETTARGETS+= INSTALL_XEN2_DOMU ${RAMDISK_B} -
|
|
MDSETTARGETS+= INSTALL_XEN3_DOMU ${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
|
|
# do not strip Xen kernels, there's no space constraints here.
|
|
MDSET_NOSTRIP.netbsd-INSTALL_XEN2_DOMU=
|
|
MDSET_NOSTRIP.netbsd-INSTALL_XEN3_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_XEN2_DOMU=
|
|
MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
.include <bsd.prog.mk>
|