Home | History | Annotate | Line # | Download | only in common
Makefile.ramdisk revision 1.10
      1  1.10    joerg #	$NetBSD: Makefile.ramdisk,v 1.10 2011/04/10 16:45:52 joerg Exp $
      2   1.1  hubertf 
      3   1.1  hubertf .include <bsd.own.mk>
      4   1.1  hubertf .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5   1.1  hubertf 
      6   1.1  hubertf I386COMMON=	${.CURDIR}/../common
      7   1.1  hubertf 
      8   1.1  hubertf .PATH:		${I386COMMON}
      9   1.1  hubertf 
     10   1.1  hubertf WARNS=		1
     11   1.1  hubertf DBG=		-Os
     12   1.1  hubertf 
     13   1.1  hubertf CRUNCHBIN=	ramdiskbin
     14   1.2      dsl LISTS=		${I386COMMON}/list.ramdisk
     15   1.2      dsl LISTS+=		${.CURDIR}/list
     16   1.1  hubertf MTREECONF=	${DISTRIBDIR}/common/mtree.common
     17   1.1  hubertf IMAGEENDIAN=	le
     18   1.1  hubertf IMAGEDEPENDS+= 	${CRUNCHBIN} \
     19   1.4  tsutsui 		dot.profile \
     20   1.1  hubertf 		${DESTDIR}/usr/mdec/boot \
     21   1.1  hubertf 		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
     22   1.1  hubertf 		${DESTDIR}/usr/mdec/mbr \
     23   1.1  hubertf 		${DESTDIR}/usr/mdec/mbr_ext \
     24   1.1  hubertf 		${DESTDIR}/usr/mdec/mbr_bootsel \
     25   1.1  hubertf 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     26   1.6      abs 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     27   1.9      roy 		${DISTRIBDIR}/common/services
     28   1.1  hubertf PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
     29   1.1  hubertf 
     30   1.1  hubertf # This propogates through to the link of ramdiskbin
     31   1.1  hubertf # The map file is useful when trying to prune the image
     32  1.10    joerg LDFLAGS+=	-Wl,-Map,${CRUNCHBIN}.map,--cref
     33  1.10    joerg CRUNCHENV += LDFLAGS=${LDFLAGS:Q}
     34   1.1  hubertf 
     35   1.1  hubertf .if defined(USE_SYSINST)
     36   1.1  hubertf .if ${USE_SYSINST} != yes
     37   1.1  hubertf LISTS+=		${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST}
     38   1.1  hubertf .else
     39   1.1  hubertf LISTS+=		${DISTRIBDIR}/common/list.sysinst
     40   1.1  hubertf .endif
     41   1.1  hubertf MAKEFS_FLAGS+=	-f 14
     42   1.1  hubertf .endif
     43   1.1  hubertf 
     44   1.1  hubertf # Use stubs to eliminate some large stuff from libc
     45   1.1  hubertf HACKSRC=	${DISTRIBDIR}/utils/libhack
     46   1.1  hubertf .include	"${HACKSRC}/Makefile.inc"
     47   1.1  hubertf ${CRUNCHBIN}:	libhack.o
     48   1.1  hubertf 
     49   1.1  hubertf .include "${DISTRIBDIR}/common/Makefile.crunch"
     50   1.1  hubertf .include "${DISTRIBDIR}/common/Makefile.makedev"
     51   1.1  hubertf .include "${DISTRIBDIR}/common/Makefile.image"
     52   1.1  hubertf 
     53   1.1  hubertf release:
     54   1.1  hubertf 
     55   1.1  hubertf .include <bsd.prog.mk>
     56