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