NetBSD/distrib/walnut/md-kernel/Makefile

22 lines
578 B
Makefile

# $NetBSD: Makefile,v 1.1 2002/05/30 16:21:45 eeh Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
MKIMG?= ${NETBSDSRCDIR}/sys/arch/walnut/compile/mkimg.sh
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
MDSETTARGETS= INSTALL ${RAMDISK} -
MDSET_RELEASEDIR= binary/kernel
MDSET_SUFFIXES.-= img create-img
create-img= \
OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
${MKIMG} ${.TARGET:R} ${.TARGET}
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>