Makefile revision dc6773a791aa85405675dcc2c64f6de197be7ced
1# $FreeBSD$
2
3NO_OBJ=t
4
5.include <bsd.init.mk>
6
7# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
8# than 4.5 supports it.
9.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
10
11.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
12.if ${MK_FDT} != "no"
13SUBDIR+=	fdt
14.endif
15.endif
16
17.if ${MACHINE_CPUARCH} == "aarch64" || \
18    ${MACHINE_CPUARCH} == "amd64" || \
19    ${MACHINE_CPUARCH} == "arm"
20SUBDIR+=	libefi loader boot1
21.endif
22
23.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
24
25.include <bsd.subdir.mk>
26