Makefile.ramdisk revision 1.9
11.9Sroy# $NetBSD: Makefile.ramdisk,v 1.9 2010/02/11 09:06:48 roy Exp $ 21.1Shubertf 31.1Shubertf.include <bsd.own.mk> 41.1Shubertf.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 51.1Shubertf 61.1ShubertfI386COMMON= ${.CURDIR}/../common 71.1Shubertf 81.1Shubertf.PATH: ${I386COMMON} 91.1Shubertf 101.1ShubertfWARNS= 1 111.1ShubertfDBG= -Os 121.1Shubertf 131.1ShubertfCRUNCHBIN= ramdiskbin 141.2SdslLISTS= ${I386COMMON}/list.ramdisk 151.2SdslLISTS+= ${.CURDIR}/list 161.1ShubertfMTREECONF= ${DISTRIBDIR}/common/mtree.common 171.1ShubertfIMAGEENDIAN= le 181.1ShubertfIMAGEDEPENDS+= ${CRUNCHBIN} \ 191.4Stsutsui dot.profile \ 201.1Shubertf ${DESTDIR}/usr/mdec/boot \ 211.1Shubertf ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ 221.1Shubertf ${DESTDIR}/usr/mdec/mbr \ 231.1Shubertf ${DESTDIR}/usr/mdec/mbr_ext \ 241.1Shubertf ${DESTDIR}/usr/mdec/mbr_bootsel \ 251.1Shubertf ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 261.6Sabs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 271.9Sroy ${DISTRIBDIR}/common/services 281.1ShubertfPARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 291.1Shubertf 301.1Shubertf# This propogates through to the link of ramdiskbin 311.1Shubertf# The map file is useful when trying to prune the image 321.1ShubertfCRUNCHENV += LDFLAGS='-Wl,-Map,${CRUNCHBIN}.map,--cref' 331.1Shubertf 341.1Shubertf.if defined(USE_SYSINST) 351.1Shubertf.if ${USE_SYSINST} != yes 361.1ShubertfLISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST} 371.1Shubertf.else 381.1ShubertfLISTS+= ${DISTRIBDIR}/common/list.sysinst 391.1Shubertf.endif 401.1ShubertfMAKEFS_FLAGS+= -f 14 411.1Shubertf.endif 421.1Shubertf 431.1Shubertf# Use stubs to eliminate some large stuff from libc 441.1ShubertfHACKSRC= ${DISTRIBDIR}/utils/libhack 451.1Shubertf.include "${HACKSRC}/Makefile.inc" 461.1Shubertf${CRUNCHBIN}: libhack.o 471.1Shubertf 481.1Shubertf.include "${DISTRIBDIR}/common/Makefile.crunch" 491.1Shubertf.include "${DISTRIBDIR}/common/Makefile.makedev" 501.1Shubertf.include "${DISTRIBDIR}/common/Makefile.image" 511.1Shubertf 521.1Shubertfrelease: 531.1Shubertf 541.1Shubertf.include <bsd.prog.mk> 55