2010-02-11 12:06:47 +03:00
|
|
|
# $NetBSD: Makefile,v 1.20 2010/02/11 09:06:47 roy Exp $
|
2002-04-11 20:33:58 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-11 20:33:58 +04:00
|
|
|
|
|
|
|
IMAGE= ramdisk.fs
|
2009-01-21 17:43:14 +03:00
|
|
|
IMAGESIZE= 2100k
|
Add more bits the cats install disk.
Most noticeable change is the addition of dhclient, we now prompt if the
user wants DHCP autoconfiguration.
Also added chio, rcmd, ping6, rtsol, scsictl
We now use the cut down versions of:
dhclient, ifconfig, ping, ping6 and route
The ramdisk has grown by about 200k, however the kernel can take that, we're
still a few 100k from the current 5MB limit for cats kernels.
2003-03-23 16:43:41 +03:00
|
|
|
MAKEFS_FLAGS= -f 14
|
2002-04-11 20:33:58 +04:00
|
|
|
|
|
|
|
WARNS= 1
|
|
|
|
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= le
|
|
|
|
MAKEDEVTARGETS= ramdisk
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
2009-09-21 02:46:10 +04: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 \
|
2010-02-11 12:06:47 +03:00
|
|
|
${DISTRIBDIR}/common/services
|
2002-04-11 20:33:58 +04:00
|
|
|
|
2005-01-18 15:38:45 +03:00
|
|
|
.if ${USE_INET6} != "no"
|
2009-09-21 02:50:50 +04:00
|
|
|
LISTS+= ${DISTRIBDIR}/common/list.inet6
|
2005-01-18 15:38:45 +03:00
|
|
|
.endif
|
|
|
|
|
2002-04-11 20:33:58 +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"
|
2009-04-07 15:49:16 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
|
2002-04-11 20:33:58 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
release:
|
|
|
|
|
2002-04-11 20:33:58 +04:00
|
|
|
.include <bsd.prog.mk>
|