1# $NetBSD: Makefile.ramdisk,v 1.7 2010/02/11 09:06:49 roy Exp $ 2 3.include <bsd.own.mk> 4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 6OFPPCCOMMON= ${.CURDIR}/../common 7 8.PATH: ${OFPPCCOMMON} 9 10WARNS= 1 11DBG= -Os -fno-asynchronous-unwind-tables 12CRUNCHGEN_FLAGS= -d "${DBG}" 13 14CRUNCHBIN= ramdiskbin 15LISTS= ${.CURDIR}/list ${OFPPCCOMMON}/list.ramdisk 16MTREECONF= ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk 17IMAGEENDIAN= le 18IMAGEDEPENDS+= ${CRUNCHBIN} \ 19 dot.profile \ 20 ${DESTDIR}/usr/mdec/ofwboot \ 21 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 22 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 23 ${DISTRIBDIR}/common/services 24PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 25 26.if defined(USE_SYSINST) 27# MI sysinst list has has languages we do not 28#LISTS+= ${DISTRIBDIR}/common/list.sysinst 29LISTS+= ${.CURDIR}/../common/list.sysinst 30MAKEFS_FLAGS+= -f 14 31.endif 32 33# Use stubs to eliminate some large stuff from libc 34HACKSRC= ${DISTRIBDIR}/utils/libhack 35.include "${HACKSRC}/Makefile.inc" 36${CRUNCHBIN}: libhack.o 37 38.include "${DISTRIBDIR}/common/Makefile.crunch" 39.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 40.include "${DISTRIBDIR}/common/Makefile.makedev" 41.include "${DISTRIBDIR}/common/Makefile.image" 42 43release: 44 45.include <bsd.prog.mk> 46