Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / arc / ramdisk / Makefile
blobad2dda85908966cf7f5e75a841c4f6332013e09c
1 # $NetBSD: Makefile,v 1.18 2009/09/20 19:49:07 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 IMAGE= ramdisk.fs
7 IMAGESIZE= 2560k
8 MAKEFS_FLAGS= -f 15
10 WARNS= 1
11 DBG= -Os -mmemcpy
13 CRUNCHBIN= ramdiskbin
14 CRUNCHGEN_FLAGS= -d "${DBG}"
15 LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
16 MTREECONF= ${DISTRIBDIR}/common/mtree.common
17 IMAGEENDIAN= le
18 MAKEDEVTARGETS= minimal
19 IMAGEDEPENDS= ${CRUNCHBIN} \
20 dot.profile \
21 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
22 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
23 ${DISTRIBDIR}/common/services \
24 ${DISTRIBDIR}/common/termcap
25 SMALLPROG_INET6=1
27 # Use stubs to eliminate some large stuff from libc
28 HACKSRC= ${DISTRIBDIR}/utils/libhack
29 .include "${HACKSRC}/Makefile.inc"
30 ${CRUNCHBIN}: libhack.o
32 .include "${DISTRIBDIR}/common/Makefile.crunch"
33 .include "${DISTRIBDIR}/common/Makefile.makedev"
34 .include "${DISTRIBDIR}/common/Makefile.image"
36 release:
38 .include <bsd.prog.mk>