2002-12-09 17:20:52 +03:00
|
|
|
# $NetBSD: Makefile,v 1.1 2002/12/09 14:20:54 scw Exp $
|
2002-05-30 20:21:43 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
|
2002-12-09 17:20:52 +03:00
|
|
|
MKIMG?= ${NETBSDSRCDIR}/sys/arch/evbppc/compile/walnut-mkimg.sh
|
2002-05-30 20:21:43 +04:00
|
|
|
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
|
|
|
2002-12-09 17:20:52 +03:00
|
|
|
MDSETTARGETS= INSTALL_WALNUT ${RAMDISK} -
|
2002-05-30 20:21:43 +04:00
|
|
|
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>
|