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