opnsense-src/stand/efi/Makefile
Ahmad Khalifa ce02470205 stand: Add support for 64-bit machines with 32-bit UEFI implementations
Some machines have 64-bit capable cpus but are stuck on 32-bit uefi
firmware.

Add support for them by building a new "loader_ia32" with
LOADER_DEFAULT_INTERP along with the 64-bit one. The loader
can be disabled using MK_LOADER_IA32.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit f8ca5d45c3c1829759ecd87cb95d53e5ab7d0811)
2025-03-25 19:28:38 -06:00

17 lines
285 B
Makefile

NO_OBJ=t
.include <bsd.init.mk>
SUBDIR.yes+= libefi
SUBDIR.${MK_FDT}+= fdt
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>