Makefile.ramdisk revision 1.6
1# $NetBSD: Makefile.ramdisk,v 1.6 2010/02/05 10:01:20 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}/rescue/terminfo.db \ 21 ${DESTDIR}/usr/mdec/ofwboot \ 22 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 23 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 24 ${DISTRIBDIR}/common/services 25PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 26 27.if defined(USE_SYSINST) 28# MI sysinst list has has languages we do not 29#LISTS+= ${DISTRIBDIR}/common/list.sysinst 30LISTS+= ${.CURDIR}/../common/list.sysinst 31MAKEFS_FLAGS+= -f 14 32.endif 33 34# Use stubs to eliminate some large stuff from libc 35HACKSRC= ${DISTRIBDIR}/utils/libhack 36.include "${HACKSRC}/Makefile.inc" 37${CRUNCHBIN}: libhack.o 38 39.include "${DISTRIBDIR}/common/Makefile.crunch" 40.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 41.include "${DISTRIBDIR}/common/Makefile.makedev" 42.include "${DISTRIBDIR}/common/Makefile.image" 43 44release: 45 46.include <bsd.prog.mk> 47