Makefile.ramdisk revision 1.9
1# $NetBSD: Makefile.ramdisk,v 1.9 2018/12/24 20:11:22 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 15 16# Use ${.CURDIR}/list only if LISTS was not already defined by the caller. 17LISTS?= ${.CURDIR}/list 18LISTS+= ${OFPPCCOMMON}/list.ramdisk 19MTREECONF= ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk 20MAKEDEVTARGETS= ramdisk 21IMAGEENDIAN= le 22IMAGEDEPENDS+= ${CRUNCHBIN} \ 23 dot.profile \ 24 ${DESTDIR}/usr/mdec/ofwboot \ 25 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 26 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 27 ${DISTRIBDIR}/common/services 28PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 29 30.if defined(USE_SYSINST) 31# MI sysinst list has has languages we do not 32#LISTS+= ${DISTRIBDIR}/common/list.sysinst 33LISTS+= ${.CURDIR}/../common/list.sysinst 34MAKEFS_FLAGS+= -f 14 35.endif 36 37# Use stubs to eliminate some large stuff from libc 38HACKSRC= ${DISTRIBDIR}/utils/libhack 39.include "${HACKSRC}/Makefile.inc" 40${CRUNCHBIN}: libhack.o 41 42.include "${DISTRIBDIR}/common/Makefile.crunch" 43.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 44.include "${DISTRIBDIR}/common/Makefile.makedev" 45.include "${DISTRIBDIR}/common/Makefile.image" 46 47release: 48 49.include <bsd.prog.mk> 50