1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00
Files
src/stand/efi/Makefile
T
Ahmad Khalifa 23996d940a stand/efi/Makefile: fix build order
Move liblua32efi and ficl32efi before .WAIT, otherwise there's a race
between the interpreter and the loader being built.

Reported by:	kbowling
Discussed with:	kevans
Fixes:		d15cc7625d
2026-05-31 14:48:05 +03:00

25 lines
494 B
Makefile

NO_OBJ=t
.include <bsd.init.mk>
SUBDIR.yes+= libefi
SUBDIR.${MK_LOADER_IA32}+= libsa32efi libefi32
SUBDIR.${MK_FDT}+= fdt
.if ${LOADER_DEFAULT_INTERP} == "lua"
SUBDIR.${MK_LOADER_IA32}+= liblua32efi
.elif ${LOADER_DEFAULT_INTERP} == "4th"
SUBDIR.${MK_LOADER_IA32}+= ficl32efi
.endif
SUBDIR.yes+= .WAIT
SUBDIR.yes+= boot1 gptboot
SUBDIR.${MK_FORTH}+= loader_4th
SUBDIR.${MK_LOADER_LUA}+= loader_lua
SUBDIR.${MK_LOADER_IA32}+= loader_ia32
SUBDIR.yes+= loader_simp
.include <bsd.subdir.mk>