NetBSD/distrib/walnut/md-kernel/Makefile
eeh a56ebcba77 Create a ramdisk installation image, pack it into a INSTALL kernel, and
generate a netbootable image from the results.
2002-05-30 16:21:43 +00:00

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>