2003-04-02 14:39:19 +04:00
|
|
|
# $NetBSD: Makefile,v 1.31 2003/04/02 10:39:21 fvdl Exp $
|
2002-04-18 19:36:57 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-05-17 21:52:29 +04:00
|
|
|
.include <bsd.kernobj.mk>
|
1995-10-09 02:07:44 +03:00
|
|
|
|
2002-05-17 21:52:29 +04:00
|
|
|
IMAGE= ramdisk.fs
|
|
|
|
IMAGESIZE= 400k
|
2003-04-02 14:39:19 +04:00
|
|
|
MAKEFS_FLAGS= -f 15 -o minfree=0,optimization=space,density=4096
|
1995-10-09 02:07:44 +03:00
|
|
|
|
2002-05-17 21:52:29 +04:00
|
|
|
WARNS= 1
|
|
|
|
DBG= -Os
|
1995-10-09 02:07:44 +03:00
|
|
|
|
2002-05-17 21:52:29 +04:00
|
|
|
CRUNCHBIN= rd_bin
|
|
|
|
LISTS= ${.CURDIR}/list
|
|
|
|
MTREECONF= ${.CURDIR}/mtree.conf
|
|
|
|
IMAGEENDIAN= be
|
|
|
|
MAKEDEVTARGETS= __ramdisk std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0 fd0
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
|
|
disktab fstab passwd protocols services sshrc welcome \
|
|
|
|
${NETBSDSRCDIR}/etc/netconfig
|
2002-04-06 22:16:09 +04:00
|
|
|
|
2002-05-17 21:52:29 +04:00
|
|
|
MDSETTARGETS= RAMDISK ramdisk.fs - \
|
|
|
|
RAMDISK3X ramdisk.fs -
|
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
1995-10-09 02:07:44 +03:00
|
|
|
|
|
|
|
# Use stubs to eliminate some large stuff from libc
|
2002-03-28 07:33:21 +03:00
|
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
2002-05-17 21:52:29 +04:00
|
|
|
${CRUNCHBIN}: libhack.o
|
2000-06-10 07:01:14 +04:00
|
|
|
|
2002-05-17 21:52:29 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
2002-02-23 20:27:42 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|