Patchwork [0/5] Some ADT related refactoring

login
register
mail settings
Submitter Laurentiu Palcu
Date Sept. 10, 2013, 3:10 p.m.
Message ID <cover.1378824959.git.laurentiu.palcu@intel.com>
Download mbox
Permalink /patch/57761/
State New
Headers show

Pull-request

git://git.yoctoproject.org/poky-contrib lpalcu/b4783_target_arch_change

Comments

Laurentiu Palcu - Sept. 10, 2013, 3:10 p.m.
Hi,

Currently, if one wants to create an ADT repo for a certain architecture, but
for different machines (for example for arm: qemuarm and beagleboard), it will
fail. That's because the meta-environment file created is the same:
meta-environment-arm

The problem here is that the environment file will contain compiler options
specific to the MACHINE used for the last compilation. For example, if one compiles
the toolchain for qemuarm followed by a beagleboard compilation, the meta-environment
package will contain the latter settings.

This patchset will add the possibility to specify, in adt-installer.conf, the
machine for which the toolchain is to be installed which will select the
correct meta-environment file and target sysroot.

Thanks,
Laurentiu

The following changes since commit 0ca5d1fb38157564a2b9452ade32391d18a41b09:

  yocto-bsp: remove apm as a default MACHINE_FEATURE (2013-09-09 16:28:47 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lpalcu/b4783_target_arch_change
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b4783_target_arch_change

Laurentiu Palcu (5):
  meta-environment: change package name to include MACHINE
  packagegroup-cross-canadian: change package name to include MACHINE
  populate_sdk_base.bbclass: select the proper cross-canadian package
  meta-toolchain-qt: include the proper cross-canadian package
  adt-installer: allow installation of other machines

 meta/classes/populate_sdk_base.bbclass             |    2 +-
 meta/recipes-core/meta/meta-environment.bb         |    2 +-
 .../packagegroups/packagegroup-cross-canadian.bb   |   13 +++-----
 .../installer/adt-installer/adt_installer          |   33 ++++++++++----------
 .../installer/adt-installer/adt_installer.conf     |   20 +++++++++---
 .../adt-installer/opkg/conf/opkg-sdk-i686.conf     |    1 +
 .../adt-installer/opkg/conf/opkg-sdk-x86_64.conf   |    1 +
 .../adt-installer/scripts/adt_installer_internal   |   27 +++++-----------
 meta/recipes-qt/meta/meta-toolchain-qt.inc         |    2 +-
 9 files changed, 50 insertions(+), 51 deletions(-)