2011-02-20 11:26:08 +03:00
|
|
|
# $NetBSD: Makefile,v 1.8 2011/02/20 08:26:09 matt Exp $
|
2002-05-22 00:54:16 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
|
|
|
|
.include <bsd.kernobj.mk>
|
|
|
|
|
2011-02-20 11:26:08 +03:00
|
|
|
.if ${MACHINE_ARCH} == "mipseb"
|
|
|
|
NX= 32
|
|
|
|
SFX= # none
|
|
|
|
LISTS= ${.CURDIR}/list
|
|
|
|
.else
|
|
|
|
NX= 64
|
|
|
|
SFX= .elf32
|
|
|
|
LISTS= ${.CURDIR}/list64
|
|
|
|
.endif
|
|
|
|
|
2002-05-22 00:54:16 +04:00
|
|
|
IMAGE= diskimage
|
2010-08-16 17:24:54 +04:00
|
|
|
IMAGESIZE= 3600k
|
2002-05-22 00:54:16 +04:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.dot
|
|
|
|
IMAGEENDIAN= be
|
|
|
|
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
|
|
|
2011-02-20 11:26:08 +03:00
|
|
|
IMAGEDEPENDS= netbsd-INSTALL${NX}_IP2x.gz netbsd-INSTALL${NX}_IP3x.gz
|
|
|
|
MDSETTARGETS= INSTALL${NX}_IP2x ${RAMDISK} netbsd-INSTALL${NX}_IP2x${SFX} \
|
|
|
|
INSTALL${NX}_IP3x ${RAMDISK} netbsd-INSTALL${NX}_IP3x${SFX}
|
2002-05-22 00:54:16 +04:00
|
|
|
|
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
|
2011-02-20 11:26:08 +03:00
|
|
|
MDSET_SUFFIXES.netbsd-INSTALL${NX}_IP2x=ecoff create-ecoff
|
2005-03-01 03:22:07 +03:00
|
|
|
create-ecoff= ${OBJCOPY} --impure -O ecoff-bigmips \
|
|
|
|
-R .pdr -R .mdebug.abi32 -R .comment -R .ident \
|
|
|
|
${.TARGET:R} ${.TARGET}
|
2002-05-22 00:54:16 +04:00
|
|
|
|
|
|
|
IMAGE_RELEASEDIR= installation/diskimage
|
|
|
|
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|