Home | History | Annotate | Line # | Download | only in common
Makefile.ramdisk revision 1.12.2.2
      1 #	$NetBSD: Makefile.ramdisk,v 1.12.2.2 2020/04/08 14:03:43 martin 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 
     15 CRUNCHBIN=	ramdiskbin
     16 
     17 # Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
     18 LISTS?=		${.CURDIR}/list
     19 LISTS+=		${AMD64COMMON}/list.ramdisk
     20 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     21 IMAGEENDIAN=	le
     22 IMAGEDEPENDS+= 	${CRUNCHBIN} \
     23 		dot.profile \
     24 		${DESTDIR}/usr/mdec/boot \
     25 		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
     26 		${DESTDIR}/usr/mdec/mbr \
     27 		${DESTDIR}/usr/mdec/mbr_ext \
     28 		${DESTDIR}/usr/mdec/mbr_bootsel \
     29 		${DESTDIR}/usr/mdec/gptmbr.bin \
     30 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     31 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     32 		${DISTRIBDIR}/common/services
     33 PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
     34 
     35 .if defined(USE_SYSINST)
     36 LISTS+=		${DISTRIBDIR}/common/list.sysinst
     37 MAKEFS_FLAGS+=	-f 14
     38 .endif
     39 
     40 # Use stubs to eliminate some large stuff from libc
     41 HACKSRC=	${DISTRIBDIR}/utils/libhack
     42 .include	"${HACKSRC}/Makefile.inc"
     43 ${CRUNCHBIN}:	libhack.o
     44 
     45 .include "${DISTRIBDIR}/common/Makefile.crunch"
     46 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     47 .include "${DISTRIBDIR}/common/Makefile.makedev"
     48 .include "${DISTRIBDIR}/common/Makefile.image"
     49 
     50 release:
     51 
     52 .include <bsd.prog.mk>
     53