Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] SDK build related fixes
@ 2014-01-16 11:16 Laurentiu Palcu
  2014-01-16 11:16 ` [PATCH 1/2] allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none" Laurentiu Palcu
  2014-01-16 11:16 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: reverse inherit order Laurentiu Palcu
  0 siblings, 2 replies; 3+ messages in thread
From: Laurentiu Palcu @ 2014-01-16 11:16 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit cea75f9c8c083d76ad8c45127be332665ef09d06:

  ltp: fix makefile race (2014-01-15 17:26:50 +0000)

are available in the git repository at:

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

Laurentiu Palcu (2):
  allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"
  nativesdk-packagegroup-sdk-host: reverse inherit order

 meta/classes/allarch.bbclass                       |    2 ++
 .../nativesdk-packagegroup-sdk-host.bb             |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"
  2014-01-16 11:16 [PATCH 0/2] SDK build related fixes Laurentiu Palcu
@ 2014-01-16 11:16 ` Laurentiu Palcu
  2014-01-16 11:16 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: reverse inherit order Laurentiu Palcu
  1 sibling, 0 replies; 3+ messages in thread
From: Laurentiu Palcu @ 2014-01-16 11:16 UTC (permalink / raw)
  To: openembedded-core

allarch packages shouldn't use these variables.

[YOCTO #5396]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/classes/allarch.bbclass |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 5e13a5b..3ef1e9c 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -23,6 +23,8 @@ python () {
         d.setVar("TARGET_LD_ARCH", "none")
         d.setVar("TARGET_AS_ARCH", "none")
         d.setVar("PACKAGE_EXTRA_ARCHS", "")
+        d.setVar("SDK_ARCH", "none")
+        d.setVar("SDK_CC_ARCH", "none")
 
         # No need to do shared library processing or debug symbol handling
         d.setVar("EXCLUDE_FROM_SHLIBS", "1")
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] nativesdk-packagegroup-sdk-host: reverse inherit order
  2014-01-16 11:16 [PATCH 0/2] SDK build related fixes Laurentiu Palcu
  2014-01-16 11:16 ` [PATCH 1/2] allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none" Laurentiu Palcu
@ 2014-01-16 11:16 ` Laurentiu Palcu
  1 sibling, 0 replies; 3+ messages in thread
From: Laurentiu Palcu @ 2014-01-16 11:16 UTC (permalink / raw)
  To: openembedded-core

Currently, tow successive toolchain builds for different hosts, will
issue a warning:

WARNING: The recipe nativesdk-packagegroup-sdk-host is trying to install
files into a shared area when those files already exist. Those files and
their manifest location are:
   /ssd/work/yp1/build/tmp/deploy/ipk/all/nativesdk-packagegroup-sdk-host_1.0-r11_all.ipk
   Matched in manifest-x86_64-nativesdk-packagegroup-sdk-host.package_write_ipk
Please verify which package should provide the above files.

That's because packagegroup is manually inherited after nativesdk which
is usually a BBCLASSEXTEND operation, done last.

[YOCTO #5396]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 .../nativesdk-packagegroup-sdk-host.bb             |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index 9581ef3..1065f30 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -6,7 +6,7 @@ SUMMARY = "Host packages for the standalone SDK or external toolchain"
 PR = "r11"
 LICENSE = "MIT"
 
-inherit nativesdk packagegroup
+inherit packagegroup nativesdk
 
 PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-16 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-16 11:16 [PATCH 0/2] SDK build related fixes Laurentiu Palcu
2014-01-16 11:16 ` [PATCH 1/2] allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none" Laurentiu Palcu
2014-01-16 11:16 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: reverse inherit order Laurentiu Palcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox