2002-05-03 19:22:55 +04:00
|
|
|
# $NetBSD: Makefile,v 1.13 2002/05/03 15:22:55 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
|
|
|
|
IMAGEDEPENDS= install.gz ${DESTDIR}/usr/mdec/boot ${PRIMARYBOOT}
|
|
|
|
IMAGEPOSTBUILD= ${DESTDIR}/usr/mdec/installboot ${IMAGE} ${PRIMARYBOOT} # XXXDISTRIB
|
2002-04-12 17:54:50 +04:00
|
|
|
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
2002-04-14 05:41:24 +04:00
|
|
|
MDSETTARGETS= RAMDISK ${RAMDISK} install
|
2002-04-12 17:54:50 +04:00
|
|
|
|
2002-05-02 22:02:14 +04:00
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
IMAGE_RELEASEDIR= installation/diskimage
|
|
|
|
|
2002-04-12 17:54:50 +04:00
|
|
|
.if defined(ECOFF_KERNEL)
|
2002-04-14 05:41:24 +04:00
|
|
|
MDSET.install.suffixes= ecoff
|
2002-05-03 19:22:55 +04:00
|
|
|
MDSET.install.post= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET:R}.ecoff && \
|
|
|
|
gzip -9f ${.TARGET:R}.ecoff
|
2001-02-19 10:45:38 +03:00
|
|
|
.endif # ECOFF_KERNEL
|
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>
|