2003-12-14 01:06:23 +03:00
|
|
|
# $NetBSD: Makefile,v 1.17 2003/12/13 22:06:23 chs Exp $
|
2001-05-18 04:16:36 +04:00
|
|
|
|
2001-10-22 03:23:19 +04:00
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-23 01:17:48 +04:00
|
|
|
.include <bsd.kernobj.mk>
|
|
|
|
|
2002-04-26 07:15:15 +04:00
|
|
|
IMAGE= ramdisk.fs
|
2003-12-14 01:06:23 +03:00
|
|
|
IMAGESIZE= 500k
|
|
|
|
MAKEFS_FLAGS= -f 15 -o minfree=0,optimization=space,density=2048
|
2002-04-23 01:17:48 +04:00
|
|
|
|
|
|
|
WARNS= 1
|
|
|
|
DBG= -Os
|
|
|
|
|
|
|
|
CRUNCHBIN= rd_bin
|
2002-04-26 07:15:15 +04:00
|
|
|
LISTS= ${.CURDIR}/list
|
|
|
|
MTREECONF= ${.CURDIR}/mtree.conf
|
2002-04-23 01:17:48 +04:00
|
|
|
IMAGEENDIAN= be
|
2003-10-29 14:50:53 +03:00
|
|
|
MAKEDEVTARGETS= std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0
|
2002-04-23 01:17:48 +04:00
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
2002-04-26 07:29:32 +04:00
|
|
|
disktab fstab passwd protocols services sshrc welcome \
|
2002-04-26 19:50:21 +04:00
|
|
|
${NETBSDSRCDIR}/etc/netconfig
|
2002-04-26 07:15:15 +04:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
MDSETTARGETS= RAMDISK ramdisk.fs -
|
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
2001-05-18 04:16:36 +04:00
|
|
|
|
2002-04-23 01:17:48 +04:00
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
${CRUNCHBIN}: libhack.o
|
2001-05-18 04:16:36 +04:00
|
|
|
|
2002-04-23 01:17:48 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
2002-04-26 07:15:15 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
2002-04-23 01:17:48 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|