Expand PMF_FN_* macros.
[netbsd-mini2440.git] / distrib / pmax / instkernel / Makefile
blob07beedf7249ea549cebefeffca38879a72b2f61c
1 # $NetBSD: Makefile,v 1.37 2009/01/18 12:51:25 he Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
8 .if ${MACHINE_ARCH} == "mips64el"
9 SFX= 64
10 .endif
12 IMAGE= diskimage
13 IMAGESIZE= 2400k
14 LISTS= ${.CURDIR}/list${SFX}
15 MTREECONF= ${DISTRIBDIR}/common/mtree.dot
16 IMAGEENDIAN= le
17 PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
18 IMAGEDEPENDS= netbsd-INSTALL${SFX}.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
19 IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
21 RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
22 RAMDISK= ${RAMDISKDIR}/ramdisk.fs
24 MDSETTARGETS= RAMDISK${SFX} ${RAMDISK} netbsd-INSTALL${SFX}
25 MDSET_RELEASEDIR= binary/kernel
27 .if ${MACHINE_ARCH} == "mipsel"
28 MDSET_SUFFIXES.netbsd-INSTALL${SFX}= ecoff create-ecoff
29 create-ecoff= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
30 .endif
32 IMAGE_RELEASEDIR= installation/diskimage
34 .include "${DISTRIBDIR}/common/Makefile.image"
35 .include "${DISTRIBDIR}/common/Makefile.mdset"
37 .include <bsd.prog.mk>