NetBSD/distrib/sgimips/instkernel/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2011-02-20 11:26:08 +03:00
# $NetBSD: Makefile,v 1.8 2011/02/20 08:26:09 matt Exp $
.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
IMAGE= diskimage
IMAGESIZE= 3600k
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}
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}
IMAGE_RELEASEDIR= installation/diskimage
.include "${DISTRIBDIR}/common/Makefile.image"
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>