Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / sgimips / instkernel / Makefile
blobf954f7048e00f8eac6c05b86de54009bf30c5151
1 # $NetBSD: Makefile,v 1.5 2006/01/16 00:13:58 he Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
8 IMAGE= diskimage
9 IMAGESIZE= 3500k
10 LISTS= ${.CURDIR}/list
11 MTREECONF= ${DISTRIBDIR}/common/mtree.dot
12 IMAGEENDIAN= be
13 IMAGEDEPENDS= netbsd-INSTALL32_IP2x.gz netbsd-INSTALL32_IP3x.gz
15 RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
16 RAMDISK= ${RAMDISKDIR}/ramdisk.fs
18 MDSETTARGETS= INSTALL32_IP2x ${RAMDISK} netbsd-INSTALL32_IP2x \
19 INSTALL32_IP3x ${RAMDISK} netbsd-INSTALL32_IP3x
21 MDSET_RELEASEDIR= binary/kernel
23 MDSET_SUFFIXES.netbsd-INSTALL32_IP2x=ecoff create-ecoff
24 create-ecoff= ${OBJCOPY} --impure -O ecoff-bigmips \
25 -R .pdr -R .mdebug.abi32 -R .comment -R .ident \
26 ${.TARGET:R} ${.TARGET}
28 IMAGE_RELEASEDIR= installation/diskimage
30 .include "${DISTRIBDIR}/common/Makefile.image"
31 .include "${DISTRIBDIR}/common/Makefile.mdset"
33 .include <bsd.prog.mk>