Home | History | Annotate | Line # | Download | only in common
Makefile.ramdisk revision 1.10
      1 #	$NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 AMD64COMMON=	${.CURDIR}/../common
      7 
      8 .PATH:		${AMD64COMMON}
      9 
     10 WARNS=		1
     11 DBG=		-Os -fno-asynchronous-unwind-tables
     12 CRUNCHGEN_FLAGS= -d "${DBG}"
     13 
     14 CRUNCHBIN=	ramdiskbin
     15 
     16 # Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
     17 LISTS?=		${.CURDIR}/list
     18 LISTS+=		${AMD64COMMON}/list.ramdisk
     19 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     20 IMAGEENDIAN=	le
     21 IMAGEDEPENDS+= 	${CRUNCHBIN} \
     22 		dot.profile \
     23 		${DESTDIR}/usr/mdec/boot \
     24 		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
     25 		${DESTDIR}/usr/mdec/mbr \
     26 		${DESTDIR}/usr/mdec/mbr_ext \
     27 		${DESTDIR}/usr/mdec/mbr_bootsel \
     28 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     29 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     30 		${DISTRIBDIR}/common/services
     31 PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
     32 
     33 .if defined(USE_SYSINST)
     34 LISTS+=		${DISTRIBDIR}/common/list.sysinst
     35 MAKEFS_FLAGS+=	-f 14
     36 .endif
     37 
     38 # Use stubs to eliminate some large stuff from libc
     39 HACKSRC=	${DISTRIBDIR}/utils/libhack
     40 .include	"${HACKSRC}/Makefile.inc"
     41 ${CRUNCHBIN}:	libhack.o
     42 
     43 .include "${DISTRIBDIR}/common/Makefile.crunch"
     44 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     45 .include "${DISTRIBDIR}/common/Makefile.makedev"
     46 .include "${DISTRIBDIR}/common/Makefile.image"
     47 
     48 release:
     49 
     50 .include <bsd.prog.mk>
     51