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