1# $FreeBSD: releng/11.0/sys/boot/efi/Makefile 296892 2016-03-15 05:17:31Z imp $
2
3.include <src.opts.mk>
4
5# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
6# than 4.5 supports it.
7.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 404500
8
9.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
10.if ${MK_FDT} != "no"
11SUBDIR+=	fdt
12.endif
13.endif
14
15.if ${MACHINE_CPUARCH} == "aarch64" || \
16    ${MACHINE_CPUARCH} == "amd64" || \
17    ${MACHINE_CPUARCH} == "arm"
18SUBDIR+=	libefi loader boot1
19.endif
20
21.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 404500
22
23.include <bsd.subdir.mk>
24