1# $NetBSD: Makefile.ramdisk,v 1.1 2008/01/02 11:39:02 mrg 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 termcap.mini \ 20 ${DESTDIR}/usr/mdec/ofwboot \ 21 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 22 ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \ 23 ${NETBSDSRCDIR}/distrib/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.makedev" 40.include "${DISTRIBDIR}/common/Makefile.image" 41 42release: 43 44.include <bsd.prog.mk> 45