xref: /freebsd/stand/efi/Makefile (revision c6e475ff5ab177d1bfa2fe8eaf9678fd165649fa)
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
11SUBDIR.${MK_FDT}+=	fdt
12SUBDIR.yes+=	libefi boot1 gptboot
13SUBDIR.${MK_FORTH}+= loader_4th
14SUBDIR.${MK_LOADER_LUA}+= loader_lua
15SUBDIR.yes+=	loader_simp
16
17.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
18
19.include <bsd.subdir.mk>
20