2010-02-05 13:01:16 +03:00
|
|
|
# $NetBSD: Makefile,v 1.20 2010/02/05 10:01:17 roy 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
|
2003-02-10 14:18:55 +03:00
|
|
|
IMAGESIZE= 2560k
|
2002-04-06 22:40:32 +04:00
|
|
|
MAKEFS_FLAGS= -f 15
|
|
|
|
|
|
|
|
WARNS= 1
|
2003-02-01 08:00:17 +03:00
|
|
|
DBG= -Os -mmemcpy
|
2002-04-06 22:40:32 +04:00
|
|
|
|
|
|
|
CRUNCHBIN= ramdiskbin
|
2002-04-14 16:52:15 +04:00
|
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
2008-02-02 07:23:06 +03:00
|
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
|
2002-04-06 22:40:32 +04:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= le
|
|
|
|
MAKEDEVTARGETS= minimal
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
2008-02-01 17:25:58 +03:00
|
|
|
dot.profile \
|
2002-04-26 19:50:21 +04:00
|
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
2009-09-20 23:49:07 +04:00
|
|
|
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
|
|
|
|
${DISTRIBDIR}/common/services \
|
2010-02-05 13:01:16 +03:00
|
|
|
${DESTDIR}/rescue/terminfo.db
|
2002-10-17 06:05:35 +04:00
|
|
|
SMALLPROG_INET6=1
|
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>
|