Makefile.ramdisk revision 1.11
1# $NetBSD: Makefile.ramdisk,v 1.11 2015/10/07 14:09:04 martin 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 ${DESTDIR}/usr/mdec/gptmbr.bin \ 29 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 30 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 31 ${DISTRIBDIR}/common/services 32PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 33 34.if defined(USE_SYSINST) 35LISTS+= ${DISTRIBDIR}/common/list.sysinst 36MAKEFS_FLAGS+= -f 14 37.endif 38 39# Use stubs to eliminate some large stuff from libc 40HACKSRC= ${DISTRIBDIR}/utils/libhack 41.include "${HACKSRC}/Makefile.inc" 42${CRUNCHBIN}: libhack.o 43 44.include "${DISTRIBDIR}/common/Makefile.crunch" 45.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 46.include "${DISTRIBDIR}/common/Makefile.makedev" 47.include "${DISTRIBDIR}/common/Makefile.image" 48 49release: 50 51.include <bsd.prog.mk> 52