Skip to content

Commit

Permalink
clang: remove True option to getVar calls
Browse files Browse the repository at this point in the history
Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

Signed-off-by: Peter Marko <peter.marko@siemens.com>
  • Loading branch information
petermarko authored and kraj committed Jun 27, 2024
1 parent c0cb89d commit 0aadd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes-devtools/clang/clang_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"

def get_clang_experimental_arch(bb, d, arch_var):
import re
a = d.getVar(arch_var, True)
a = d.getVar(arch_var)
return ""

def get_clang_arch(bb, d, arch_var):
import re
a = d.getVar(arch_var, True)
a = d.getVar(arch_var)
if re.match('(i.86|athlon|x86.64)$', a): return 'X86'
elif re.match('arm$', a): return 'ARM'
elif re.match('armeb$', a): return 'ARM'
Expand Down

0 comments on commit 0aadd0f

Please sign in to comment.