1 # $NetBSD: Makefile.ramdisk,v 1.4 2009/09/20 19:49:09 abs Exp $
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 OFPPCCOMMON= ${.CURDIR}/../common
11 DBG= -Os -fno-asynchronous-unwind-tables
12 CRUNCHGEN_FLAGS= -d "${DBG}"
15 LISTS= ${.CURDIR}/list ${OFPPCCOMMON}/list.ramdisk
16 MTREECONF= ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk
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
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"
45 .include <bsd.prog.mk>