Makefile revision 433bd38e3a0349f9f89f9d54594172c75b002b74
1# $FreeBSD$
2
3.include <bsd.init.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} >= 40500
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} >= 40500
22
23.include <bsd.subdir.mk>
24