[yocto] [meta-mingw][PATCH 0/7] Updates for krogoth/master

Juro Bystricky juro.bystricky at intel.com
Sat Aug 20 11:03:54 PDT 2016


Krogoth recipes fail to cross-compile for Windows using meta-mingw layer.
In particular, the following should/used to work (jethro with meta-mingw layer):

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
TCLIBC="baremetal"
bitbake gcc-cross-canadian-i586

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
bitbake meta-toolchain

This patchset updates meta-mingw layer so the above work for krogoth as well.
There is no "krogoth" branch for meta-mingw, these patches should go there once the
branch exists.
FWIW, I tested these patches with the current poky master as well, and succeed in cross-compiling
of the most common recipes (for both SDKMACHINE=i686-mingw32 and SDKMACHINE=x86_64-mingw32)
such as:
    bitbake gcc-cross-canadian-i586
    bitbake gdb-cross-canadian-i586
    bitbake meta-toolchain
    bitbake core-image-minimal -c populate_sdk

[YOCTO#10143]



Juro Bystricky (7):
  *-mingw32.conf: Upgrade for krogoth
  gettext_0.19.4.bbappend: Update for later versions
  binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions
  gcc-runtime: Drop libitm for mingw32 runtime
  gmp_6.0.0.bbappend: Removed
  mpfr_3.1.3.bbappend: Work with all 3.1.% versions
  gdb-cross-canadian_7.9.1: Work with all 7.% versions

 conf/machine-sdk/i686-mingw32.conf                               | 7 ++++++-
 conf/machine-sdk/x86_64-mingw32.conf                             | 7 ++++++-
 recipes-core/gettext/gettext_0.19.%.bbappend                     | 6 ++++++
 recipes-core/gettext/gettext_0.19.4.bbappend                     | 2 --
 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend  | 5 +++++
 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 -----
 recipes-devtools/gcc/gcc-runtime_%.bbappend                      | 1 +
 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend             | 7 +++++++
 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend           | 5 -----
 recipes-support/gmp/gmp_6.0.0.bbappend                           | 3 ---
 recipes-support/mpfr/mpfr_3.1.%.bbappend                         | 1 +
 recipes-support/mpfr/mpfr_3.1.3.bbappend                         | 1 -
 12 files changed, 32 insertions(+), 18 deletions(-)
 create mode 100644 recipes-core/gettext/gettext_0.19.%.bbappend
 delete mode 100644 recipes-core/gettext/gettext_0.19.4.bbappend
 create mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
 delete mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend
 create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
 delete mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
 delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend
 create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend
 delete mode 100644 recipes-support/mpfr/mpfr_3.1.3.bbappend

-- 
2.7.4




More information about the yocto mailing list