[OE-core] [PATCH] arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCH

Mark Hatle mark.hatle at windriver.com
Fri Jan 23 21:24:48 UTC 2015


Note, I tested this by building a world build for MACHINE qemumips64 with
DEFAULTTUNE set to mips64-n32.

It and the other recent patches I've sent are available at

git://git.yoctoproject.org/poky-contrib mhatle/oe-core

--Mark

On 1/23/15 3:20 PM, Mark Hatle wrote:
> [YOCTO #7230]
> 
> In certain system configurations TRANSLATED_TARGET_ARCH will not
> expand in the right order for gcc-cross-candian-mips64n32 to be
> generated properly.
> 
> This will cause SDKs to fail to generate properly.
> 
> Changing the global definition of TRANSLATED_TARGET_ARCH always
> expands the ABIEXTENSION, which causes the OVERRIDES to pick it up
> as well.  This effectively defines a new class of overrides for the 'n32'.
> 
> The side effect is that we need to duplicate some mips64 overrides, and
> redefine others that were previously 'n32' or 'mips64' exclusive to have
> the correct semantics.
> 
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
>  meta/conf/bitbake.conf                             |   2 +
>  meta/conf/machine/include/mips/arch-mips.inc       |   4 +-
>  .../packagegroups/packagegroup-core-sdk.bb         |   1 +
>  .../packagegroup-core-tools-profile.bb             |   2 +
>  .../packagegroups/packagegroup-self-hosted.bb      |   1 +
>  meta/recipes-devtools/gcc/gcc-configure-common.inc |   2 +
>  meta/recipes-devtools/gdb/gdb-common.inc           |   2 +
>  .../python/python-numpy/mips64n32/_numpyconfig.h   |  30 +++++
>  .../python/python-numpy/mips64n32/config.h         | 139 +++++++++++++++++++++
>  meta/recipes-devtools/python/python-numpy_1.7.0.bb |   4 +
>  .../ghostscript/ghostscript/mips64eln32/objarch.h  |  40 ++++++
>  .../ghostscript/ghostscript/mips64n32/objarch.h    |  40 ++++++
>  meta/recipes-extended/mdadm/mdadm_3.3.2.bb         |   1 +
>  .../packagegroups/packagegroup-core-lsb.bb         |   1 +
>  meta/recipes-kernel/sysprof/sysprof_git.bb         |   1 +
>  .../packagegroups/packagegroup-core-qt.bb          |   2 +-
>  .../packagegroups/packagegroup-core-qt4e.bb        |   2 +-
>  .../packagegroup-qt-toolchain-target.inc           |   2 +-
>  meta/recipes-qt/qt4/qt4-4.8.6.inc                  |   2 +-
>  meta/recipes-sato/images/core-image-sato-sdk.bb    |   1 +
>  meta/recipes-sato/midori/midori_0.5.8.bb           |   2 +-
>  meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb       |   2 +-
>  22 files changed, 276 insertions(+), 7 deletions(-)
>  create mode 100644 meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h
>  create mode 100644 meta/recipes-devtools/python/python-numpy/mips64n32/config.h
>  create mode 100644 meta/recipes-extended/ghostscript/ghostscript/mips64eln32/objarch.h
>  create mode 100644 meta/recipes-extended/ghostscript/ghostscript/mips64n32/objarch.h




More information about the Openembedded-core mailing list