2002-05-26 22:17:35 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2002/05/26 18:17:35 jdolecek Exp $
|
2002-04-06 22:40:32 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-06 22:40:32 +04:00
|
|
|
|
|
|
|
IMAGE= ramdisk.fs
|
2002-05-26 22:17:35 +04:00
|
|
|
IMAGESIZE= 2304k
|
2002-04-06 22:40:32 +04:00
|
|
|
MAKEFS_FLAGS= -f 15
|
|
|
|
|
|
|
|
WARNS= 1
|
2002-04-23 23:53:10 +04:00
|
|
|
DBG= -Os -mmemcpy -Wa,-xgot # XXX -xgot workaround for objcopy-crunchide
|
2002-04-06 22:40:32 +04:00
|
|
|
|
|
|
|
CRUNCHBIN= ramdiskbin
|
2002-04-14 16:52:15 +04:00
|
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
2002-04-06 22:40:32 +04:00
|
|
|
LISTS= ${.CURDIR}/list # ${DISTRIBDIR}/common/list.sysinst
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= le
|
|
|
|
MAKEDEVTARGETS= minimal
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
|
|
dot.profile termcap.mini \
|
2002-04-26 19:50:21 +04:00
|
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
|
|
|
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
|
|
|
|
${NETBSDSRCDIR}/etc/services
|
2002-04-06 22:40:32 +04:00
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
release:
|
|
|
|
|
2002-04-06 22:40:32 +04:00
|
|
|
.include <bsd.prog.mk>
|