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