2002-12-11 18:52:47 +03:00
|
|
|
# $NetBSD: Makefile,v 1.15 2002/12/11 15:52:47 lukem Exp $
|
2001-02-19 10:45:38 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
2001-02-19 10:45:38 +03:00
|
|
|
|
2002-04-12 17:54:50 +04:00
|
|
|
.include <bsd.kernobj.mk>
|
2001-02-19 10:45:38 +03:00
|
|
|
|
|
|
|
IMAGE= diskimage
|
2002-04-12 17:54:50 +04:00
|
|
|
IMAGESIZE= 2m
|
|
|
|
LISTS= ${.CURDIR}/list
|
2002-05-03 18:20:54 +04:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.dot
|
2002-04-12 17:54:50 +04:00
|
|
|
IMAGEENDIAN= be
|
2002-05-02 22:02:14 +04:00
|
|
|
PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
|
2002-05-09 01:44:53 +04:00
|
|
|
IMAGEDEPENDS= netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/boot ${PRIMARYBOOT}
|
2002-12-11 18:52:47 +03:00
|
|
|
|
|
|
|
# XXXDISTRIB: disabled because it's not cross friendly...
|
|
|
|
# C.f, [port-mips/19349]
|
|
|
|
#
|
|
|
|
#IMAGEPOSTBUILD= ${DESTDIR}/usr/mdec/installboot ${IMAGE} ${PRIMARYBOOT}
|
2002-04-12 17:54:50 +04:00
|
|
|
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
|
|
|
2002-05-09 01:44:53 +04:00
|
|
|
MDSETTARGETS= RAMDISK ${RAMDISK} netbsd-INSTALL
|
2002-05-02 22:02:14 +04:00
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
|
2002-04-12 17:54:50 +04:00
|
|
|
.if defined(ECOFF_KERNEL)
|
2002-05-09 01:44:53 +04:00
|
|
|
MDSET_SUFFIXES.netbsd-INSTALL= ecoff create-ecoff
|
|
|
|
create-ecoff= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
|
2001-02-19 10:45:38 +03:00
|
|
|
.endif # ECOFF_KERNEL
|
2002-04-12 17:54:50 +04:00
|
|
|
|
2002-05-09 01:44:53 +04:00
|
|
|
IMAGE_RELEASEDIR= installation/diskimage
|
|
|
|
|
2002-04-12 17:54:50 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
2001-02-19 10:45:38 +03:00
|
|
|
|
2002-04-12 17:54:50 +04:00
|
|
|
.include <bsd.prog.mk>
|