# $NetBSD: Makefile,v 1.46 2024/11/27 17:06:18 christos Exp $ .include .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" .include .if !empty(MACHINE_ARCH:Mmips*64el) SFX= 64 .endif IMAGE= diskimage IMAGESIZE= 4608k LISTS= ${.CURDIR}/list${SFX} MTREECONF= ${DISTRIBDIR}/common/mtree.dot IMAGEENDIAN= le PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs IMAGEDEPENDS= netbsd-INSTALL${SFX}.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT} IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR} RAMDISK= ${RAMDISKDIR}/ramdisk.fs MDSETTARGETS= RAMDISK${SFX} ${RAMDISK} netbsd-INSTALL${SFX} MDSET_RELEASEDIR= binary/kernel .if ${MACHINE_ARCH} == "mipsel" MDSET_SUFFIXES.netbsd-INSTALL${SFX}= ecoff create-ecoff create-ecoff= ${MIPS_ELF2ECOFF} ${.TARGET:R} ${.TARGET} .endif IMAGE_RELEASEDIR= installation/diskimage .include "${DISTRIBDIR}/common/Makefile.image" .include "${DISTRIBDIR}/common/Makefile.mdset" .include