Replace arch_val by arch_var, thus fixing:

NameError: name 'arch_val' is not defined. Did you mean: 'arch_var'?

Signed-off-by: João Marcos Costa <[email protected]>
---
 meta/recipes-devtools/clang/common-clang.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/clang/common-clang.inc 
b/meta/recipes-devtools/clang/common-clang.inc
index ed628008e0..9018094419 100644
--- a/meta/recipes-devtools/clang/common-clang.inc
+++ b/meta/recipes-devtools/clang/common-clang.inc
@@ -35,7 +35,7 @@ def get_clang_arch(bb, d, arch_var):
     elif re.match('p(pc|owerpc)(|64)', a):             return 'PowerPC'
     elif re.match('loongarch64$', a):                  return 'LoongArch'
     else:
-        bb.fatal("Unhandled architecture %s" % arch_val)
+        bb.fatal("Unhandled architecture %s" % arch_var)
         return ""
 
 def get_clang_host_arch(bb, d):
-- 
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239757): 
https://lists.openembedded.org/g/openembedded-core/message/239757
Mute This Topic: https://lists.openembedded.org/mt/120028405/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to