11.17Sriastrad# $NetBSD: Makefile.ramdisk,v 1.17 2024/03/20 13:51:35 riastradh Exp $ 21.12Skamil 31.12SkamilNOSANITIZER= # defined 41.1Shubertf 51.1Shubertf.include <bsd.own.mk> 61.1Shubertf.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 71.1Shubertf 81.1ShubertfAMD64COMMON= ${.CURDIR}/../common 91.1Shubertf 101.1Shubertf.PATH: ${AMD64COMMON} 111.1Shubertf 121.1ShubertfWARNS= 1 131.1ShubertfDBG= -Os -fno-asynchronous-unwind-tables 141.1Shubertf 151.1ShubertfCRUNCHBIN= ramdiskbin 161.10Sapb 171.10Sapb# Use ${.CURDIR}/list only if LISTS was not already defined by the caller. 181.10SapbLISTS?= ${.CURDIR}/list 191.10SapbLISTS+= ${AMD64COMMON}/list.ramdisk 201.1ShubertfMTREECONF= ${DISTRIBDIR}/common/mtree.common 211.1ShubertfIMAGEENDIAN= le 221.1ShubertfIMAGEDEPENDS+= ${CRUNCHBIN} \ 231.3Stsutsui dot.profile \ 241.1Shubertf ${DESTDIR}/usr/mdec/boot \ 251.1Shubertf ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ 261.1Shubertf ${DESTDIR}/usr/mdec/mbr \ 271.1Shubertf ${DESTDIR}/usr/mdec/mbr_ext \ 281.1Shubertf ${DESTDIR}/usr/mdec/mbr_bootsel \ 291.11Smartin ${DESTDIR}/usr/mdec/gptmbr.bin \ 301.16Smartin ${DESTDIR}/usr/mdec/bootia32.efi \ 311.16Smartin ${DESTDIR}/usr/mdec/bootx64.efi \ 321.1Shubertf ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 331.6Sabs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 341.9Sroy ${DISTRIBDIR}/common/services 351.1ShubertfPARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 361.1Shubertf 371.1Shubertf.if defined(USE_SYSINST) 381.1ShubertfLISTS+= ${DISTRIBDIR}/common/list.sysinst 391.1ShubertfMAKEFS_FLAGS+= -f 14 401.1Shubertf.endif 411.1Shubertf 421.1Shubertf# Use stubs to eliminate some large stuff from libc 431.1ShubertfHACKSRC= ${DISTRIBDIR}/utils/libhack 441.1Shubertf.include "${HACKSRC}/Makefile.inc" 451.1Shubertf${CRUNCHBIN}: libhack.o 461.1Shubertf 471.1Shubertf.include "${DISTRIBDIR}/common/Makefile.crunch" 481.5Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 491.1Shubertf.include "${DISTRIBDIR}/common/Makefile.makedev" 501.1Shubertf.include "${DISTRIBDIR}/common/Makefile.image" 511.1Shubertf 521.17Sriastradrelease: ${IMAGE} 531.17Sriastrad ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \ 541.17Sriastrad ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/ 551.1Shubertf 561.1Shubertf.include <bsd.prog.mk> 57