summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ovmf/ovmf_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf_git.bb')
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb6
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
53DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native" 53DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native"
54 54
55EDK_TOOLS_DIR="edk2_basetools" 55EDK_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.
58BUILD_OPTIMIZATION = "" 58BUILD_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.
61COMPATIBLE_HOST:class-target='(i.86|x86_64).*' 61COMPATIBLE_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() {
139export NASM_PREFIX_MAP = "--debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" 139export NASM_PREFIX_MAP = "--debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}"
140export GCC_PREFIX_MAP = "${DEBUG_PREFIX_MAP} -Wno-stringop-overflow -Wno-maybe-uninitialized" 140export GCC_PREFIX_MAP = "${DEBUG_PREFIX_MAP} -Wno-stringop-overflow -Wno-maybe-uninitialized"
141 141
142GCC_VER="$(${CC} -v 2>&1 | tail -n1 | awk '{print $3}')" 142GCC_VER = "$(${CC} -v 2>&1 | tail -n1 | awk '{print $3}')"
143 143
144fixup_target_tools() { 144fixup_target_tools() {
145 case ${1} in 145 case ${1} in