From 7c1dec115cff4d4fc5bc24d65019ed67d4367b92 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 5 Jan 2012 22:09:58 +0000 Subject: 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 Signed-off-by: Henning Heinold --- recipes-core/openjdk/openjdk-6-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core/openjdk/openjdk-6-common.inc') 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): elif arch == "powerpc": arch = "powerpc" else: - oefatal("Your target architecture is not supported by this recipe"); + bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) ); return arch -- cgit v1.2.3-54-g00ecf