mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
Add build option for the ia32 loader
In preparation for supporting 64-bit machines with 32-bit UEFI firmware, add a build option for compiling the ia32 loader. Currently unused. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1098 (cherry picked from commit fe3f792f9a2982678138e239f5e8d66e8ee71aeb)
This commit is contained in:
parent
7d7dc14d6b
commit
ac5378d93c
3 changed files with 7 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ __DEFAULT_YES_OPTIONS = \
|
|||
LOADER_OFW \
|
||||
LOADER_PXEBOOT \
|
||||
LOADER_UBOOT \
|
||||
LOADER_IA32 \
|
||||
LOCALES \
|
||||
LOCATE \
|
||||
LPR \
|
||||
|
|
@ -323,6 +324,10 @@ BROKEN_OPTIONS+=LOADER_KBOOT
|
|||
.if (${__T:Marm*} == "" && ${__T:Mpowerpc*} == "") || ${__T} == "powerpc64le"
|
||||
BROKEN_OPTIONS+=LOADER_UBOOT
|
||||
.endif
|
||||
# The 32-bit UEFI loader is only for amd64
|
||||
.if ${__T} != "amd64"
|
||||
BROKEN_OPTIONS+=LOADER_IA32
|
||||
.endif
|
||||
# GELI and Lua in loader currently cause boot failures on powerpc.
|
||||
# Further debugging is required -- probably they are just broken on big
|
||||
# endian systems generically (they jump to null pointers or try to read
|
||||
|
|
|
|||
1
tools/build/options/WITHOUT_LOADER_IA32
Normal file
1
tools/build/options/WITHOUT_LOADER_IA32
Normal file
|
|
@ -0,0 +1 @@
|
|||
Do not build the 32-bit UEFI loader.
|
||||
1
tools/build/options/WITH_LOADER_IA32
Normal file
1
tools/build/options/WITH_LOADER_IA32
Normal file
|
|
@ -0,0 +1 @@
|
|||
Build the 32-bit UEFI loader.
|
||||
Loading…
Reference in a new issue