xref: /netbsd-src/sys/arch/evbarm/stand/Makefile (revision b5c47949a45ac972130c38cf13dfd8afb1f09285)
1#	$NetBSD: Makefile,v 1.13 2020/09/12 15:25:41 jmcneill Exp $
2
3.include <bsd.endian.mk>
4
5.if ${MACHINE_CPU} == "arm"
6SUBDIR+= gzboot
7SUBDIR+= boot2440
8.if ${TARGET_ENDIANNESS} == "1234"
9# According to the i.MX23 Reference Manual section 3.1, Page 3-3:
10# "The i.MX23 always operates in litle-endian mode."
11SUBDIR+= bootimx23
12.endif
13.endif
14
15.if ${HAVE_UEFI:Uno} == "yes"
16. if !empty(MACHINE_ARCH:Maarch64*)
17SUBDIR+= ../../../stand/efiboot/bootaa64
18. else
19SUBDIR+= ../../../stand/efiboot/bootarm
20. endif
21.endif
22
23.include <bsd.subdir.mk>
24