Home | History | Annotate | Line # | Download | only in common
      1 #	$NetBSD: Makefile.ramdisk,v 1.1 2024/01/07 00:57:13 thorpej Exp $
      2 
      3 NOSANITIZER=	# defined
      4 
      5 .include <bsd.own.mk>
      6 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      7 
      8 VIRT68KCOMMON=	${.CURDIR}/../common
      9 
     10 .PATH:		${VIRT68KCOMMON}
     11 
     12 WARNS=		1
     13 DBG=		-Os
     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+=		${VIRT68KCOMMON}/list.ramdisk
     20 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     21 IMAGEENDIAN=	be
     22 IMAGEDEPENDS+= 	${CRUNCHBIN} \
     23 		dot.profile \
     24 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     25 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     26 		${DISTRIBDIR}/common/services
     27 
     28 .if defined(USE_SYSINST)
     29 LISTS+=		${DISTRIBDIR}/common/list.sysinst
     30 MAKEFS_FLAGS+=	-f 14
     31 .endif
     32 
     33 # Use stubs to eliminate some large stuff from libc
     34 HACKSRC=	${DISTRIBDIR}/utils/libhack
     35 .include	"${HACKSRC}/Makefile.inc"
     36 ${CRUNCHBIN}:	libhack.o
     37 
     38 .include "${DISTRIBDIR}/common/Makefile.crunch"
     39 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     40 .include "${DISTRIBDIR}/common/Makefile.makedev"
     41 .include "${DISTRIBDIR}/common/Makefile.image"
     42 
     43 release: check_RELEASEDIR
     44 	${RELEASE_INSTALL} ${IMAGE} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisks
     45 
     46 .include <bsd.prog.mk>
     47