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