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
This commit is contained in:
committed by
Warner Losh
parent
650056363b
commit
fe3f792f9a
@@ -132,6 +132,7 @@ __DEFAULT_YES_OPTIONS = \
|
|||||||
LOADER_OFW \
|
LOADER_OFW \
|
||||||
LOADER_PXEBOOT \
|
LOADER_PXEBOOT \
|
||||||
LOADER_UBOOT \
|
LOADER_UBOOT \
|
||||||
|
LOADER_IA32 \
|
||||||
LOCALES \
|
LOCALES \
|
||||||
LOCATE \
|
LOCATE \
|
||||||
LPR \
|
LPR \
|
||||||
@@ -330,6 +331,10 @@ BROKEN_OPTIONS+=LOADER_KBOOT
|
|||||||
.if (${__T:Marm*} == "" && ${__T:Mpowerpc*} == "") || ${__T} == "powerpc64le"
|
.if (${__T:Marm*} == "" && ${__T:Mpowerpc*} == "") || ${__T} == "powerpc64le"
|
||||||
BROKEN_OPTIONS+=LOADER_UBOOT
|
BROKEN_OPTIONS+=LOADER_UBOOT
|
||||||
.endif
|
.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.
|
# GELI and Lua in loader currently cause boot failures on powerpc.
|
||||||
# Further debugging is required -- probably they are just broken on big
|
# Further debugging is required -- probably they are just broken on big
|
||||||
# endian systems generically (they jump to null pointers or try to read
|
# endian systems generically (they jump to null pointers or try to read
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Do not build the 32-bit UEFI loader.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Build the 32-bit UEFI loader.
|
||||||
Reference in New Issue
Block a user