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