38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2002/10/30 12:42:25 tsutsui Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
IMAGE= ramdisk.fs
|
|
IMAGESIZE= 1440k
|
|
MAKEFS_FLAGS= -f 15
|
|
|
|
WARNS= 1
|
|
DBG= -O1 # XXX -Os might cause compiler bugs on sh3
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
|
LISTS= ${.CURDIR}/list # ${DISTRIBDIR}/common/list.sysinst
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGEENDIAN= le
|
|
MAKEDEVTARGETS= ramdisk
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
dot.profile termcap.mini \
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
|
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
|
|
${NETBSDSRCDIR}/etc/services
|
|
#SMALLPROG_INET6=1
|
|
|
|
# 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>
|