diff options
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf_git.bb')
-rw-r--r-- | meta/recipes-core/ovmf/ovmf_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index 9aa831badc..559c86b546 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb | |||
@@ -52,13 +52,13 @@ S = "${WORKDIR}/git" | |||
52 | 52 | ||
53 | DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native" | 53 | DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native" |
54 | 54 | ||
55 | EDK_TOOLS_DIR="edk2_basetools" | 55 | EDK_TOOLS_DIR = "edk2_basetools" |
56 | 56 | ||
57 | # OVMF has trouble building with the default optimization of -O2. | 57 | # OVMF has trouble building with the default optimization of -O2. |
58 | BUILD_OPTIMIZATION = "" | 58 | BUILD_OPTIMIZATION = "" |
59 | 59 | ||
60 | # OVMF supports IA only, although it could conceivably support ARM someday. | 60 | # OVMF supports IA only, although it could conceivably support ARM someday. |
61 | COMPATIBLE_HOST:class-target='(i.86|x86_64).*' | 61 | COMPATIBLE_HOST:class-target = '(i.86|x86_64).*' |
62 | 62 | ||
63 | # Additional build flags for OVMF with Secure Boot. | 63 | # Additional build flags for OVMF with Secure Boot. |
64 | # Fedora also uses "-D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD". | 64 | # Fedora also uses "-D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD". |
@@ -139,7 +139,7 @@ fix_toolchain:append:class-native() { | |||
139 | export NASM_PREFIX_MAP = "--debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" | 139 | export NASM_PREFIX_MAP = "--debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" |
140 | export GCC_PREFIX_MAP = "${DEBUG_PREFIX_MAP} -Wno-stringop-overflow -Wno-maybe-uninitialized" | 140 | export GCC_PREFIX_MAP = "${DEBUG_PREFIX_MAP} -Wno-stringop-overflow -Wno-maybe-uninitialized" |
141 | 141 | ||
142 | GCC_VER="$(${CC} -v 2>&1 | tail -n1 | awk '{print $3}')" | 142 | GCC_VER = "$(${CC} -v 2>&1 | tail -n1 | awk '{print $3}')" |
143 | 143 | ||
144 | fixup_target_tools() { | 144 | fixup_target_tools() { |
145 | case ${1} in | 145 | case ${1} in |