xref: /netbsd-src/sys/arch/evbarm/stand/Makefile (revision b780d9b67ba2915029711eb93959cec066c8887f)
1#	$NetBSD: Makefile,v 1.14 2021/09/16 20:17:47 andvar 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 little-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