NetBSD/distrib/walnut/ramdisk/Makefile
eeh a56ebcba77 Create a ramdisk installation image, pack it into a INSTALL kernel, and
generate a netbootable image from the results.
2002-05-30 16:21:43 +00:00

36 lines
950 B
Makefile

# $NetBSD: Makefile,v 1.1 2002/05/30 16:21:46 eeh Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
IMAGE= ramdisk.fs
IMAGESIZE= 2048k
MAKEFS_FLAGS= -f 15
WARNS= 1
DBG= -Os -mmultiple -mstring
CRUNCHBIN= ramdiskbin
CRUNCHGEN_FLAGS=-d "${DBG}"
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= be
IMAGEDEPENDS= ${CRUNCHBIN} \
dot.profile termcap.src \
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
${NETBSDSRCDIR}/etc/services
# Use stubs to eliminate some large stuff from libc
HACKSRC= ${DISTRIBDIR}/utils/libhack
.include "${HACKSRC}/Makefile.inc"
${CRUNCHBIN}: libhack.o
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
release:
.include <bsd.prog.mk>