Makefile.ramdisk revision 1.6
11.6Sabs# $NetBSD: Makefile.ramdisk,v 1.6 2009/09/20 19:49:08 abs 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.6Sabs ${DISTRIBDIR}/common/services \ 281.4Stsutsui ${NETBSDSRCDIR}/distrib/common/termcap.mini 291.1ShubertfPARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 301.1Shubertf 311.1Shubertf# This propogates through to the link of ramdiskbin 321.1Shubertf# The map file is useful when trying to prune the image 331.1ShubertfCRUNCHENV += LDFLAGS='-Wl,-Map,${CRUNCHBIN}.map,--cref' 341.1Shubertf 351.1Shubertf.if defined(USE_SYSINST) 361.1Shubertf.if ${USE_SYSINST} != yes 371.1ShubertfLISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST} 381.1Shubertf.else 391.1ShubertfLISTS+= ${DISTRIBDIR}/common/list.sysinst 401.1Shubertf.endif 411.1ShubertfMAKEFS_FLAGS+= -f 14 421.1Shubertf.endif 431.1Shubertf 441.1Shubertf# Use stubs to eliminate some large stuff from libc 451.1ShubertfHACKSRC= ${DISTRIBDIR}/utils/libhack 461.1Shubertf.include "${HACKSRC}/Makefile.inc" 471.1Shubertf${CRUNCHBIN}: libhack.o 481.1Shubertf 491.1Shubertf.include "${DISTRIBDIR}/common/Makefile.crunch" 501.1Shubertf.include "${DISTRIBDIR}/common/Makefile.makedev" 511.1Shubertf.include "${DISTRIBDIR}/common/Makefile.image" 521.1Shubertf 531.1Shubertfrelease: 541.1Shubertf 551.1Shubertf.include <bsd.prog.mk> 56