diff options
Diffstat (limited to 'sys/boot/efi/Makefile')
-rw-r--r-- | sys/boot/efi/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/boot/efi/Makefile b/sys/boot/efi/Makefile index 57d4e81..94a975a 100644 --- a/sys/boot/efi/Makefile +++ b/sys/boot/efi/Makefile @@ -2,7 +2,8 @@ .include <src.opts.mk> -SUBDIR= libefi +# In-tree GCC does not support __attribute__((ms_abi)). +.if ${COMPILER_TYPE} != "gcc" .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" .if ${MK_FDT} != "no" @@ -13,7 +14,10 @@ SUBDIR+= fdt .if ${MACHINE_CPUARCH} == "aarch64" || \ ${MACHINE_CPUARCH} == "amd64" || \ ${MACHINE_CPUARCH} == "arm" -SUBDIR+= loader boot1 +SUBDIR+= libefi loader boot1 .endif +.endif # ${COMPILER_TYPE} != "gcc" + .include <bsd.subdir.mk> + |