34 lines
970 B
Makefile
34 lines
970 B
Makefile
# $NetBSD: Makefile,v 1.14 2002/05/08 21:44:56 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
.include <bsd.kernobj.mk>
|
|
|
|
IMAGE= diskimage
|
|
IMAGESIZE= 2m
|
|
LISTS= ${.CURDIR}/list
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.dot
|
|
IMAGEENDIAN= be
|
|
PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
|
|
IMAGEDEPENDS= netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/boot ${PRIMARYBOOT}
|
|
IMAGEPOSTBUILD= ${DESTDIR}/usr/mdec/installboot ${IMAGE} ${PRIMARYBOOT} # XXXDISTRIB
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
|
|
MDSETTARGETS= RAMDISK ${RAMDISK} netbsd-INSTALL
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
.if defined(ECOFF_KERNEL)
|
|
MDSET_SUFFIXES.netbsd-INSTALL= ecoff create-ecoff
|
|
create-ecoff= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
|
|
.endif # ECOFF_KERNEL
|
|
|
|
IMAGE_RELEASEDIR= installation/diskimage
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
.include <bsd.prog.mk>
|