NetBSD/distrib/arc/ramdisk/Makefile

37 lines
1.0 KiB
Makefile
Raw Normal View History

2002-05-26 22:17:35 +04:00
# $NetBSD: Makefile,v 1.9 2002/05/26 18:17:35 jdolecek Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
IMAGE= ramdisk.fs
2002-05-26 22:17:35 +04:00
IMAGESIZE= 2304k
MAKEFS_FLAGS= -f 15
WARNS= 1
DBG= -Os -mmemcpy -Wa,-xgot # XXX -xgot workaround for objcopy-crunchide
CRUNCHBIN= ramdiskbin
CRUNCHGEN_FLAGS= -d "${DBG}"
LISTS= ${.CURDIR}/list # ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= le
MAKEDEVTARGETS= minimal
IMAGEDEPENDS= ${CRUNCHBIN} \
dot.profile termcap.mini \
${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>