summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2020-06-26 16:40:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-26 08:32:18 +0100
commitdd28323b17c1579a7a53d49b1e68ec504db7edd9 (patch)
tree742232212e14fd54e112dd58fce2e84ba71bfbaf
parent2b5d41d03fc98bc988833ba07a5e40589795c1e1 (diff)
downloadpoky-dd28323b17c1579a7a53d49b1e68ec504db7edd9.tar.gz
ovmf: build natively everywhere
The OVMF target binaries are (currently) x86-specific, but the native tools to build them are not. Make the COMPATIBLE_HOST assignment target-specific, so that the native tools can be built on an arm64 build server. (From OE-Core rev: 94f5c2d51ec8033e00b52ef2d4e0e4c334c14163) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 58ebb47688fc98fdaeb78b4033bd31100218d5d6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index a73bb916b0..b00119313b 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -38,7 +38,7 @@ EDK_TOOLS_DIR="edk2_basetools"
38BUILD_OPTIMIZATION="-pipe" 38BUILD_OPTIMIZATION="-pipe"
39 39
40# OVMF supports IA only, although it could conceivably support ARM someday. 40# OVMF supports IA only, although it could conceivably support ARM someday.
41COMPATIBLE_HOST='(i.86|x86_64).*' 41COMPATIBLE_HOST_class-target='(i.86|x86_64).*'
42 42
43# Additional build flags for OVMF with Secure Boot. 43# Additional build flags for OVMF with Secure Boot.
44# Fedora also uses "-D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD". 44# Fedora also uses "-D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD".