NetBSD/distrib/arm32/Makefile

27 lines
658 B
Makefile

# $NetBSD: Makefile,v 1.6 2002/02/09 13:56:49 lukem Exp $
ITARGET= ${RELEASEDIR}/installation
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
KERNELS= A7INST CATSINST RPCINST SHARKINST
SUBDIR= ramdisk kernels
REV!=sh ${.CURDIR}/../../sys/conf/osrelease.sh -s
.include <bsd.subdir.mk>
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
RAMDISKOBJ != cd ${.CURDIR}/ramdisk && ${PRINTOBJDIR}
KERNELOBJ != cd ${.CURDIR}/kernels && ${PRINTOBJDIR}
release:
${IINST} ${RAMDISKOBJ}/ramdisk-${REV}.fs.gz ${ITARGET}/misc/
.for kern in ${KERNELS}
${IINST} ${KERNELOBJ}/netbsd.${kern}.gz ${ITARGET}/kernel/
.endfor
.endif