diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-04-08 11:35:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-20 07:54:27 +0100 |
commit | 0b931e983b1f663d5d7dc65f1db7687334dd3ef2 (patch) | |
tree | ed951cf137739dc440a43bce586283b897652d53 /meta/recipes-core | |
parent | 2ba9dd490d69544553fc8a837fb5034a6746ab51 (diff) | |
download | openembedded-core-0b931e983b1f663d5d7dc65f1db7687334dd3ef2.tar.gz openembedded-core-0b931e983b1f663d5d7dc65f1db7687334dd3ef2.tar.bz2 openembedded-core-0b931e983b1f663d5d7dc65f1db7687334dd3ef2.zip |
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.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions