]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/efi/Makefile
Re-sync loader.mk and ficl.mk to where they should be
[FreeBSD/FreeBSD.git] / stand / efi / Makefile
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"
11 SUBDIR+=        fdt
12 .endif
13 .endif
14
15 .if ${MACHINE_CPUARCH} == "aarch64" || \
16     ${MACHINE_CPUARCH} == "amd64" || \
17     ${MACHINE_CPUARCH} == "arm"
18 SUBDIR+=        libefi loader boot1
19 .endif
20
21 .endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
22
23 .include <bsd.subdir.mk>