diff options
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm_git.bb')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 722bc53aa1..f36e6978ed 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -42,8 +42,7 @@ def get_llvm_arch(bb, d, arch_var): | |||
42 | elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips' | 42 | elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips' |
43 | elif re.match('p(pc|owerpc)(|64)', a): return 'PowerPC' | 43 | elif re.match('p(pc|owerpc)(|64)', a): return 'PowerPC' |
44 | else: | 44 | else: |
45 | bb.error("cannot map '%s' to a supported llvm architecture" % a) | 45 | raise bb.parse.SkipRecipe("Cannot map '%s' to a supported LLVM architecture" % a) |
46 | return "" | ||
47 | 46 | ||
48 | def get_llvm_target_arch(bb, d): | 47 | def get_llvm_target_arch(bb, d): |
49 | return get_llvm_arch(bb, d, 'TARGET_ARCH') | 48 | return get_llvm_arch(bb, d, 'TARGET_ARCH') |