summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2023-08-21 19:14:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-29 09:41:07 +0100
commit68e468b3e9be94218b8ab71e5a69b7cfa71d1c0a (patch)
treef266325cae54fe9cd1f022a34b6ec76c774156c0
parent026fe2b8e003c4f8709c2c96668509e5b48bc024 (diff)
downloadpoky-68e468b3e9be94218b8ab71e5a69b7cfa71d1c0a.tar.gz
cmake.bbclass: fix allarch override syntax
The override syntax should be ":allarch" instead of "_allarch". (From OE-Core rev: bea74c9942a3bb4f71aca0f722b4a7306ae52fb4) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/cmake.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass
index 0dda104a69..ea836d5c0d 100644
--- a/meta/classes-recipe/cmake.bbclass
+++ b/meta/classes-recipe/cmake.bbclass
@@ -51,10 +51,10 @@ OECMAKE_CXX_COMPILER ?= "${@oecmake_map_compiler('CXX', d)[0]}"
51OECMAKE_CXX_COMPILER_LAUNCHER ?= "${@oecmake_map_compiler('CXX', d)[1]}" 51OECMAKE_CXX_COMPILER_LAUNCHER ?= "${@oecmake_map_compiler('CXX', d)[1]}"
52 52
53# clear compiler vars for allarch to avoid sig hash difference 53# clear compiler vars for allarch to avoid sig hash difference
54OECMAKE_C_COMPILER_allarch = "" 54OECMAKE_C_COMPILER:allarch = ""
55OECMAKE_C_COMPILER_LAUNCHER_allarch = "" 55OECMAKE_C_COMPILER_LAUNCHER:allarch = ""
56OECMAKE_CXX_COMPILER_allarch = "" 56OECMAKE_CXX_COMPILER:allarch = ""
57OECMAKE_CXX_COMPILER_LAUNCHER_allarch = "" 57OECMAKE_CXX_COMPILER_LAUNCHER:allarch = ""
58 58
59OECMAKE_RPATH ?= "" 59OECMAKE_RPATH ?= ""
60OECMAKE_PERLNATIVE_DIR ??= "" 60OECMAKE_PERLNATIVE_DIR ??= ""