generic-poky/meta
Juro Bystricky 7f0f7df8b3 kernel-arch.bbclass: conditional error message
The single purpose of "map_kernel_arch" is to set

   export ARCH = "some-arch"

The case when "some-arch" is not a valid Linux architecture results in an error.
This makes sense if the TARGET_OS is Linux, but that is not always the case.
kernel-arch is also inherited by toolchain-script, which may be used to build
toolchains for architectures not supported by Linux.

Rather than modifying toolchain-script to provide its own version of "map_arch"
this patch bypasses the error if the TARGET_OS is not linux.

(From OE-Core rev: 0b931e983b1f663d5d7dc65f1db7687334dd3ef2)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-20 07:55:26 +01:00
..
classes kernel-arch.bbclass: conditional error message 2017-04-20 07:55:26 +01:00
conf bitbake.conf: add sha256sum to HOSTTOOLS 2017-04-20 07:55:25 +01:00
files ext-sdk-prepare.py: use quiet mode when preparing sysroot 2017-04-19 10:38:37 +01:00
lib package_manager.py: Reverse rpm arch order 2017-04-20 07:55:25 +01:00
recipes-bsp gnu-efi: copy header files for x32 build 2017-04-11 18:10:17 +01:00
recipes-connectivity Revert "openssl: Fix symlink creation" 2017-04-19 10:18:43 +01:00
recipes-core busybox: drop unmaintained _git recipe 2017-04-14 09:47:08 +01:00
recipes-devtools pseudo: Backport two upstream fixes 2017-04-14 23:25:54 +01:00
recipes-extended ltp: fix an incorrect macro checking 2017-04-19 10:18:43 +01:00
recipes-gnome nativesdk-packagegroup-sdk-host: replace smartpm with dnf 2017-03-14 14:42:17 +00:00
recipes-graphics libsdl2: fix build failures on powerpc 2017-04-20 07:55:25 +01:00
recipes-kernel linux-firmware: Fix build failure when update SRCREV to latest HEAD 2017-04-14 09:47:09 +01:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia gstreamer1.0-plugins-good: Backport patch for v4l2object videometa 2017-04-11 18:10:18 +01:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support acl: fix race issue when do_compile 2017-04-19 10:18:43 +01:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00