d5209f6152
"netbsd.tmp" with "${.TARGET:R}" (et al)
32 lines
923 B
Makefile
32 lines
923 B
Makefile
# $NetBSD: Makefile,v 1.32 2002/05/03 15:22: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= le
|
|
PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
|
|
IMAGEDEPENDS= install.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
|
|
IMAGEPOSTBUILD= ${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
MDSETTARGETS= RAMDISK ${RAMDISK} install
|
|
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
IMAGE_RELEASEDIR= installation/diskimage
|
|
|
|
MDSET.install.suffixes= ecoff
|
|
MDSET.install.post= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET:R}.ecoff && \
|
|
gzip -9f ${.TARGET:R}.ecoff
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
.include <bsd.prog.mk>
|