Makefile.ramdisk revision 1.10
11.10Schristos# $NetBSD: Makefile.ramdisk,v 1.10 2019/12/29 18:26:18 christos Exp $ 21.1Smrg 31.1Smrg.include <bsd.own.mk> 41.1Smrg.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 51.1Smrg 61.1SmrgOFPPCCOMMON= ${.CURDIR}/../common 71.1Smrg 81.1Smrg.PATH: ${OFPPCCOMMON} 91.1Smrg 101.1SmrgWARNS= 1 111.1SmrgDBG= -Os -fno-asynchronous-unwind-tables 121.1Smrg 131.1SmrgCRUNCHBIN= ramdiskbin 141.8Sapb 151.8Sapb# Use ${.CURDIR}/list only if LISTS was not already defined by the caller. 161.8SapbLISTS?= ${.CURDIR}/list 171.8SapbLISTS+= ${OFPPCCOMMON}/list.ramdisk 181.1SmrgMTREECONF= ${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk 191.9SmrgMAKEDEVTARGETS= ramdisk 201.1SmrgIMAGEENDIAN= le 211.1SmrgIMAGEDEPENDS+= ${CRUNCHBIN} \ 221.6Sroy dot.profile \ 231.1Smrg ${DESTDIR}/usr/mdec/ofwboot \ 241.1Smrg ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 251.4Sabs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 261.4Sabs ${DISTRIBDIR}/common/services 271.1SmrgPARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 281.1Smrg 291.1Smrg.if defined(USE_SYSINST) 301.1Smrg# MI sysinst list has has languages we do not 311.1Smrg#LISTS+= ${DISTRIBDIR}/common/list.sysinst 321.1SmrgLISTS+= ${.CURDIR}/../common/list.sysinst 331.1SmrgMAKEFS_FLAGS+= -f 14 341.1Smrg.endif 351.1Smrg 361.1Smrg# Use stubs to eliminate some large stuff from libc 371.1SmrgHACKSRC= ${DISTRIBDIR}/utils/libhack 381.1Smrg.include "${HACKSRC}/Makefile.inc" 391.1Smrg${CRUNCHBIN}: libhack.o 401.1Smrg 411.1Smrg.include "${DISTRIBDIR}/common/Makefile.crunch" 421.3Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 431.1Smrg.include "${DISTRIBDIR}/common/Makefile.makedev" 441.1Smrg.include "${DISTRIBDIR}/common/Makefile.image" 451.1Smrg 461.1Smrgrelease: 471.1Smrg 481.1Smrg.include <bsd.prog.mk> 49