From 95d2eee93801618044e6cc1fe73cbc03fdb0d303 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 28 Mar 2013 21:33:52 -0700 Subject: llvm,openjdk: Turn bitbake parse error into warning on finding unsupported CPU Sometimes we have meta-java in bblayers but one of the CPUs e.g. mips64 which does not support openjdk errors out on parsing. Thats not OK if say the image thats being generated does not use java at all. So its ok to warn and inform about it clearly but it should not be error. Signed-off-by: Khem Raj --- recipes-core/openjdk/openjdk-7-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core/openjdk/openjdk-7-common.inc') diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index 7947157..1d5f2ca 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc @@ -175,7 +175,7 @@ def get_llvm_configure_arch(d): elif arch == "powerpc" or arch == "powerpc64": arch = "powerpc" else: - bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) ); + bb.warn("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) ); return arch -- cgit v1.2.3-54-g00ecf