Home | History | Annotate | Line # | Download | only in md-kernel
      1 #	$NetBSD: Makefile,v 1.7 2024/12/11 00:06:58 maya Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 MKIMG?=	${HOST_SH} ${NETBSDSRCDIR}/sys/arch/evbppc/compile/walnut-mkimg.sh
      7 
      8 RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
      9 RAMDISK=	${RAMDISKDIR}/ramdisk.fs
     10 
     11 MDSETTARGETS=		INSTALL_OPENBLOCKS266 ${RAMDISK} - \
     12 			INSTALL_RB850GX2 ${RAMDISK} - \
     13 			INSTALL_TWRP1025 ${RAMDISK} - \
     14 			INSTALL_WALNUT ${RAMDISK} -
     15 MDSET_RELEASEDIR=	binary/kernel
     16 MDSET_SUFFIXES.-=	img create-img
     17 
     18 create-img= \
     19 	AWK=${TOOL_AWK}; FILE=${TOOL_FILE}; \
     20 	OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; STAT=${TOOL_STAT}; \
     21 		export OBJDUMP OBJCOPY STAT; ${MKIMG} ${.TARGET:R} ${.TARGET}
     22 
     23 .include "${DISTRIBDIR}/common/Makefile.mdset"
     24 
     25 .include <bsd.prog.mk>
     26