2009-12-14 04:11:02 +03:00
|
|
|
# $NetBSD: Makefile,v 1.38 2009/12/14 01:12:06 matt Exp $
|
2000-05-02 20:06:45 +04:00
|
|
|
|
2000-06-01 10:54:57 +04:00
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2002-04-12 17:52:12 +04:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include <bsd.kernobj.mk>
|
1998-12-05 10:33:13 +03:00
|
|
|
|
2009-12-14 04:11:02 +03:00
|
|
|
.if ${MACHINE_ARCH} == "mips64el"
|
|
|
|
SFX= 64
|
|
|
|
.endif
|
|
|
|
|
2002-04-12 17:52:12 +04:00
|
|
|
IMAGE= diskimage
|
2009-12-14 04:11:02 +03:00
|
|
|
IMAGESIZE= 2400k
|
|
|
|
LISTS= ${.CURDIR}/list${SFX}
|
2002-05-03 18:20:54 +04:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.dot
|
2002-04-12 17:52:12 +04:00
|
|
|
IMAGEENDIAN= le
|
2002-05-02 22:02:14 +04:00
|
|
|
PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
|
2009-12-14 04:11:02 +03:00
|
|
|
IMAGEDEPENDS= netbsd-INSTALL${SFX}.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
|
2003-07-10 14:33:58 +04:00
|
|
|
IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
|
1998-12-05 10:33:13 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
|
|
|
2009-12-14 04:11:02 +03:00
|
|
|
MDSETTARGETS= RAMDISK${SFX} ${RAMDISK} netbsd-INSTALL${SFX}
|
2002-05-02 22:02:14 +04:00
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
|
2009-12-14 04:11:02 +03:00
|
|
|
.if ${MACHINE_ARCH} == "mipsel"
|
|
|
|
MDSET_SUFFIXES.netbsd-INSTALL${SFX}= ecoff create-ecoff
|
|
|
|
create-ecoff= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
|
|
|
|
.endif
|
2002-05-09 01:44:53 +04:00
|
|
|
|
|
|
|
IMAGE_RELEASEDIR= installation/diskimage
|
2002-04-12 17:52:12 +04:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
2002-04-12 17:52:12 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
1999-05-04 06:44:22 +04:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include <bsd.prog.mk>
|