NetBSD/distrib/mipsco/instkernel/Makefile

38 lines
1.0 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2002/12/11 15:52:47 lukem Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
.include <bsd.kernobj.mk>
IMAGE= diskimage
IMAGESIZE= 2m
LISTS= ${.CURDIR}/list
MTREECONF= ${DISTRIBDIR}/common/mtree.dot
IMAGEENDIAN= be
PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
IMAGEDEPENDS= netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/boot ${PRIMARYBOOT}
# XXXDISTRIB: disabled because it's not cross friendly...
# C.f, [port-mips/19349]
#
#IMAGEPOSTBUILD= ${DESTDIR}/usr/mdec/installboot ${IMAGE} ${PRIMARYBOOT}
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
MDSETTARGETS= RAMDISK ${RAMDISK} netbsd-INSTALL
MDSET_RELEASEDIR= binary/kernel
.if defined(ECOFF_KERNEL)
MDSET_SUFFIXES.netbsd-INSTALL= ecoff create-ecoff
create-ecoff= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
.endif # ECOFF_KERNEL
IMAGE_RELEASEDIR= installation/diskimage
.include "${DISTRIBDIR}/common/Makefile.image"
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>