diff options
author | André Draszik <andre.draszik@jci.com> | 2018-03-05 09:30:53 +0000 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2018-03-05 13:55:25 +0200 |
commit | 86c729cb51f880fd5a1ec6485baddfa2bedaa998 (patch) | |
tree | 75c0bf841ac18a7af62e5cebec095693a07a5e73 | |
parent | dd5c43fca8289b8795a9214aee616775e1493109 (diff) | |
download | meta-java-86c729cb51f880fd5a1ec6485baddfa2bedaa998.tar.gz meta-java-86c729cb51f880fd5a1ec6485baddfa2bedaa998.tar.bz2 meta-java-86c729cb51f880fd5a1ec6485baddfa2bedaa998.zip |
openjdk-8: clarify a bitbake warning
We get a bitbake warning during recipe building complaining about
unsupported architectures unconditionally. That check is relevant
only for shark builds, so it is quite confusing for non-shark
builds.
Make the warning conditional on whether shark builds are enabled
or not.
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
-rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 070ffaa..19f5103 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc @@ -181,7 +181,8 @@ def get_llvm_configure_arch(d): elif arch == "powerpc" or arch == "powerpc64": arch = "powerpc" else: - bb.warn("%s does not support %s yet" % (d.getVar('PN', True), arch) ); + if 'shark' in d.getVar('PACKAGECONFIG').split(): + bb.warn("%s does not support %s in Shark builds yet" % (d.getVar('PN', True), arch) ); return arch |