NetBSD/distrib/evbarm/Makefile
rin bdaedb86bc Correctly support aarch64eb and earmv7hfeb in a similar manner to
their little-endian counterparts.

Fix build failures for periodic binary snapshots.
2020-11-16 11:38:29 +00:00

34 lines
817 B
Makefile

# $NetBSD: Makefile,v 1.15 2020/11/16 11:38:29 rin Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
.include <bsd.kernobj.mk>
SUBDIR= gzboot instkernel
.if !empty(MACHINE_ARCH:Maarch64*) || !empty(MACHINE_ARCH:Mearmv7hf*)
SUBDIR+= installimage
.endif
.if !empty(MACHINE_ARCH:Maarch64*)
SUBDIR+= isoimage
.endif
TARGETS+= release
.if ${MACHINE_CPU} == "arm"
BOOTOBJ!= cd ${KERNSRCDIR}/arch/evbarm/stand/boot2440 && ${PRINTOBJDIR}
MDECBOOT= ${BOOTOBJ}/bootmini2440
release: check_RELEASEDIR .WAIT ${MDECBOOT}
${RELEASE_INSTALL} ${MDECBOOT} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
.endif
.if !empty(MACHINE_ARCH:Maarch64*)
iso_image:
${MAKEDIRTARGET} isoimage iso_image
.endif
install_image:
${MAKEDIRTARGET} installimage install_image
.include <bsd.subdir.mk>