diff options
author | Ross Burton <ross.burton@arm.com> | 2020-06-26 16:40:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-28 08:36:00 +0100 |
commit | add3d45c695793a6ce544cf1189d51be0f42d008 (patch) | |
tree | 0c4d578e57ca4fe30b510c76043238eb43388340 /meta | |
parent | 704a245460f1802cb83a1a7200d1bbfb5bc0c33c (diff) | |
download | poky-add3d45c695793a6ce544cf1189d51be0f42d008.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: 58ebb47688fc98fdaeb78b4033bd31100218d5d6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/ovmf/ovmf_git.bb | 2 |
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 91c1b6ba14..7292ebbb77 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb | |||
@@ -37,7 +37,7 @@ EDK_TOOLS_DIR="edk2_basetools" | |||
37 | BUILD_OPTIMIZATION="-pipe" | 37 | BUILD_OPTIMIZATION="-pipe" |
38 | 38 | ||
39 | # OVMF supports IA only, although it could conceivably support ARM someday. | 39 | # OVMF supports IA only, although it could conceivably support ARM someday. |
40 | COMPATIBLE_HOST='(i.86|x86_64).*' | 40 | COMPATIBLE_HOST_class-target='(i.86|x86_64).*' |
41 | 41 | ||
42 | # Additional build flags for OVMF with Secure Boot. | 42 | # Additional build flags for OVMF with Secure Boot. |
43 | # Fedora also uses "-D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD". | 43 | # Fedora also uses "-D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD". |