summaryrefslogtreecommitdiffstats
path: root/recipes-core/llvm/llvm.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-01-05 22:09:58 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2012-01-06 12:35:43 +0100
commit7c1dec115cff4d4fc5bc24d65019ed67d4367b92 (patch)
tree78ffac84e49e84cb07aa4eb15ca0678e694853c3 /recipes-core/llvm/llvm.inc
parent32e3a92ca97d9ea9c944ab329e9645aa68d3ddca (diff)
downloadmeta-java-7c1dec115cff4d4fc5bc24d65019ed67d4367b92.tar.gz
llvm, openjdk: Use bb.error instread of oefatal
oefatal is not available in oe-core so replace it with bbfatal in classes and oe.error in recipes which use it in anonymous python. bb.fatal aborts parsing. So we want to give an error but not stop parsing. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-core/llvm/llvm.inc')
-rw-r--r--recipes-core/llvm/llvm.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
index c675c4d..5cc9957 100644
--- a/recipes-core/llvm/llvm.inc
+++ b/recipes-core/llvm/llvm.inc
@@ -208,7 +208,7 @@ def get_llvm_arch(d):
208 elif arch == "powerpc": 208 elif arch == "powerpc":
209 arch = "PowerPC" 209 arch = "PowerPC"
210 else: 210 else:
211 oefatal("Your target architecture is not supported by this recipe"); 211 bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );
212 212
213 return arch 213 return arch
214 214