Makefile.ramdisk revision 1.3
1# $NetBSD: Makefile.ramdisk,v 1.3 2008/02/01 13:43:12 tsutsui 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 15LISTS= ${.CURDIR}/list ${AMD64COMMON}/list.ramdisk 16MTREECONF= ${DISTRIBDIR}/common/mtree.common 17IMAGEENDIAN= le 18IMAGEDEPENDS+= ${CRUNCHBIN} \ 19 dot.profile \ 20 ${DESTDIR}/usr/mdec/boot \ 21 ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ 22 ${DESTDIR}/usr/mdec/mbr \ 23 ${DESTDIR}/usr/mdec/mbr_ext \ 24 ${DESTDIR}/usr/mdec/mbr_bootsel \ 25 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 26 ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \ 27 ${NETBSDSRCDIR}/distrib/common/services \ 28 ${NETBSDSRCDIR}/distrib/common/termcap.mini 29PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 30 31.if defined(USE_SYSINST) 32LISTS+= ${DISTRIBDIR}/common/list.sysinst 33MAKEFS_FLAGS+= -f 14 34.endif 35 36# Use stubs to eliminate some large stuff from libc 37HACKSRC= ${DISTRIBDIR}/utils/libhack 38.include "${HACKSRC}/Makefile.inc" 39${CRUNCHBIN}: libhack.o 40 41.include "${DISTRIBDIR}/common/Makefile.crunch" 42.include "${DISTRIBDIR}/common/Makefile.makedev" 43.include "${DISTRIBDIR}/common/Makefile.image" 44 45release: 46 47.include <bsd.prog.mk> 48