]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/efi/Makefile
Add NO_OBJ to those directories that don't make anything.
[FreeBSD/FreeBSD.git] / stand / efi / Makefile
1 # $FreeBSD$
2
3 NO_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"
13 SUBDIR+=        fdt
14 .endif
15 .endif
16
17 .if ${MACHINE_CPUARCH} == "aarch64" || \
18     ${MACHINE_CPUARCH} == "amd64" || \
19     ${MACHINE_CPUARCH} == "arm"
20 SUBDIR+=        libefi loader boot1
21 .endif
22
23 .endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
24
25 .include <bsd.subdir.mk>