1 # $NetBSD: Makefile,v 1.37 2009/01/18 12:51:25 he Exp $
4 .
include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .
include <bsd.kernobj.mk
>
8 .if
${MACHINE_ARCH} == "mips64el"
14 LISTS
= ${.CURDIR
}/list
${SFX}
15 MTREECONF
= ${DISTRIBDIR}/common
/mtree.dot
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
}
32 IMAGE_RELEASEDIR
= installation
/diskimage
34 .
include "${DISTRIBDIR}/common/Makefile.image"
35 .
include "${DISTRIBDIR}/common/Makefile.mdset"
37 .
include <bsd.prog.mk
>