NetBSD/distrib/arm32/Makefile

28 lines
681 B
Makefile

# $NetBSD: Makefile,v 1.3 2001/11/14 00:48:37 tv Exp $
ITARGET= ${RELEASEDIR}/installation
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
KERNELS= A7INST CATSINST RPCINST SHARKINST
SUBDIR= ramdisk kernels
REV!=sh ${BSDSRCDIR}/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