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