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