Cross Reference: Makefile
xref: /src/distrib/sgimips/instkernel/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/sgimips/instkernel/
Makefile revision 1.8
1#	$NetBSD: Makefile,v 1.8 2011/02/20 08:26:09 matt Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6.include <bsd.kernobj.mk>
7
8.if ${MACHINE_ARCH} == "mipseb"
9NX=		32
10SFX=		# none
11LISTS=		${.CURDIR}/list
12.else
13NX=		64
14SFX=		.elf32
15LISTS=		${.CURDIR}/list64
16.endif
17
18IMAGE=		diskimage
19IMAGESIZE=	3600k
20MTREECONF=	${DISTRIBDIR}/common/mtree.dot
21IMAGEENDIAN=	be
22
23RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
24RAMDISK=	${RAMDISKDIR}/ramdisk.fs
25
26IMAGEDEPENDS=	netbsd-INSTALL${NX}_IP2x.gz netbsd-INSTALL${NX}_IP3x.gz 
27MDSETTARGETS=	INSTALL${NX}_IP2x ${RAMDISK} netbsd-INSTALL${NX}_IP2x${SFX} \
28		INSTALL${NX}_IP3x ${RAMDISK} netbsd-INSTALL${NX}_IP3x${SFX}
29
30MDSET_RELEASEDIR=	binary/kernel
31
32MDSET_SUFFIXES.netbsd-INSTALL${NX}_IP2x=ecoff create-ecoff
33create-ecoff=	${OBJCOPY} --impure -O ecoff-bigmips \
34		-R .pdr -R .mdebug.abi32 -R .comment -R .ident \
35		${.TARGET:R} ${.TARGET}
36
37IMAGE_RELEASEDIR=	installation/diskimage
38
39.include "${DISTRIBDIR}/common/Makefile.image"
40.include "${DISTRIBDIR}/common/Makefile.mdset"
41
42.include <bsd.prog.mk>
43

Indexes created Wed Dec 10 04:09:55 GMT 2025