Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / ofppc / ramdisks / common / Makefile.ramdisk
blob3aa822fcdab7c44a548d84957e804120cf879804
1 #       $NetBSD: Makefile.ramdisk,v 1.4 2009/09/20 19:49:09 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 OFPPCCOMMON=    ${.CURDIR}/../common
8 .PATH:          ${OFPPCCOMMON}
10 WARNS=          1
11 DBG=            -Os -fno-asynchronous-unwind-tables
12 CRUNCHGEN_FLAGS= -d "${DBG}"
14 CRUNCHBIN=      ramdiskbin
15 LISTS=          ${.CURDIR}/list ${OFPPCCOMMON}/list.ramdisk
16 MTREECONF=      ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk
17 IMAGEENDIAN=    le
18 IMAGEDEPENDS+=  ${CRUNCHBIN} \
19                 dot.profile ${DISTRIBDIR}/common/termcap \
20                 ${DESTDIR}/usr/mdec/ofwboot \
21                 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
22                 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
23                 ${DISTRIBDIR}/common/services
24 PARSELISTENV+=  BOOTMODEL=${BOOTMODEL:Q}
26 .if defined(USE_SYSINST)
27 # MI sysinst list has has languages we do not
28 #LISTS+=                ${DISTRIBDIR}/common/list.sysinst
29 LISTS+=         ${.CURDIR}/../common/list.sysinst
30 MAKEFS_FLAGS+=  -f 14
31 .endif
33 # Use stubs to eliminate some large stuff from libc
34 HACKSRC=        ${DISTRIBDIR}/utils/libhack
35 .include        "${HACKSRC}/Makefile.inc"
36 ${CRUNCHBIN}:   libhack.o
38 .include "${DISTRIBDIR}/common/Makefile.crunch"
39 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
40 .include "${DISTRIBDIR}/common/Makefile.makedev"
41 .include "${DISTRIBDIR}/common/Makefile.image"
43 release:
45 .include <bsd.prog.mk>