xref: /freebsd/stand/efi/Makefile (revision 77a1348b3c1cfe8547be49a121b56299a1e18b69)
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