summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk
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/openjdk
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/openjdk')
-rw-r--r--recipes-core/openjdk/openjdk-6-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
index 1a3c52b..461ccd9 100644
--- a/recipes-core/openjdk/openjdk-6-common.inc
+++ b/recipes-core/openjdk/openjdk-6-common.inc
@@ -158,7 +158,7 @@ def get_llvm_configure_arch(d):
158 elif arch == "powerpc": 158 elif arch == "powerpc":
159 arch = "powerpc" 159 arch = "powerpc"
160 else: 160 else:
161 oefatal("Your target architecture is not supported by this recipe"); 161 bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );
162 162
163 return arch 163 return arch
164 164