Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Minor tcmode-external-csl fixes
@ 2012-05-14 16:45 Christopher Larson
  2012-05-14 16:45 ` [PATCH 1/3] tcmode-external-csl: drop unnecessary cppflags/ldflags Christopher Larson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Christopher Larson @ 2012-05-14 16:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

The following changes since commit 36d1717e2ad4ca1620ee9f01b524b5ff2f499b26:

  classes/rootfs_*: fix splitting package dependency strings (2012-05-13 20:07:24 +0100)

are available in the git repository at:
  https://github.com/kergoth/oe-core external-csl-minor-fixes

Christopher Larson (3):
      tcmode-external-csl: drop unnecessary cppflags/ldflags
      tcmode-external-csl: avoid hardcoding a list of ia32 archs
      tcmode-external-csl: handle TUNE_PKGARCH=core2

 meta/conf/distro/include/tcmode-external-csl.inc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

-- 
1.7.7




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

* [PATCH 1/3] tcmode-external-csl: drop unnecessary cppflags/ldflags
  2012-05-14 16:45 [PATCH 0/3] Minor tcmode-external-csl fixes Christopher Larson
@ 2012-05-14 16:45 ` Christopher Larson
  2012-05-14 16:45 ` [PATCH 2/3] tcmode-external-csl: avoid hardcoding a list of ia32 archs Christopher Larson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Christopher Larson @ 2012-05-14 16:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/conf/distro/include/tcmode-external-csl.inc |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
index 3b54e35..0a48658 100644
--- a/meta/conf/distro/include/tcmode-external-csl.inc
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -39,9 +39,6 @@ PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain"
 GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
 ENABLE_BINARY_LOCALE_GENERATION = ""
 
-TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
-TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "
-
 TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"
 
 # Translate to CodeSourcery's names for their optimized files in the toolchain
-- 
1.7.7




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

* [PATCH 2/3] tcmode-external-csl: avoid hardcoding a list of ia32 archs
  2012-05-14 16:45 [PATCH 0/3] Minor tcmode-external-csl fixes Christopher Larson
  2012-05-14 16:45 ` [PATCH 1/3] tcmode-external-csl: drop unnecessary cppflags/ldflags Christopher Larson
@ 2012-05-14 16:45 ` Christopher Larson
  2012-05-14 16:45 ` [PATCH 3/3] tcmode-external-csl: handle TUNE_PKGARCH=core2 Christopher Larson
  2012-05-16 18:16 ` [PATCH 0/3] Minor tcmode-external-csl fixes Saul Wold
  3 siblings, 0 replies; 5+ messages in thread
From: Christopher Larson @ 2012-05-14 16:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/conf/distro/include/tcmode-external-csl.inc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
index 0a48658..deabd49 100644
--- a/meta/conf/distro/include/tcmode-external-csl.inc
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -70,7 +70,9 @@ python toolchain_metadata_setup () {
 
     d = e.data
 
-    if d.getVar('TUNE_PKGARCH', True) in ('i586', 'i686'):
+    l = d.createCopy()
+    l.finalize()
+    if os.path.exists(bb.data.expand('${EXTERNAL_TOOLCHAIN}/bin/gcc', l)):
         d.setVar('TOOLCHAIN_PATH_ADD', '')
 }
 addhandler toolchain_metadata_setup
@@ -81,7 +83,7 @@ python toolchain_setup () {
 
     d = e.data
 
-    if d.getVar('TUNE_PKGARCH', True) in ('i586', 'i686'):
+    if not d.getVar('TOOLCHAIN_PATH_ADD', True):
         populate_toolchain_links(d)
 }
 addhandler toolchain_setup
-- 
1.7.7




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

* [PATCH 3/3] tcmode-external-csl: handle TUNE_PKGARCH=core2
  2012-05-14 16:45 [PATCH 0/3] Minor tcmode-external-csl fixes Christopher Larson
  2012-05-14 16:45 ` [PATCH 1/3] tcmode-external-csl: drop unnecessary cppflags/ldflags Christopher Larson
  2012-05-14 16:45 ` [PATCH 2/3] tcmode-external-csl: avoid hardcoding a list of ia32 archs Christopher Larson
@ 2012-05-14 16:45 ` Christopher Larson
  2012-05-16 18:16 ` [PATCH 0/3] Minor tcmode-external-csl fixes Saul Wold
  3 siblings, 0 replies; 5+ messages in thread
From: Christopher Larson @ 2012-05-14 16:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/conf/distro/include/tcmode-external-csl.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
index deabd49..11c5df5 100644
--- a/meta/conf/distro/include/tcmode-external-csl.inc
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -47,6 +47,7 @@ def csl_target_core(d):
         'armv7a-vfp-neon': 'armv7-a-neon',
         'i586': 'sgxx-glibc',
         'i686': 'sgxx-glibc',
+        'core2': 'sgxx-glibc',
         'mips': 'mips32',
         'mipsel': 'el',
         'powerpc-nf': 'nof',
-- 
1.7.7




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

* Re: [PATCH 0/3] Minor tcmode-external-csl fixes
  2012-05-14 16:45 [PATCH 0/3] Minor tcmode-external-csl fixes Christopher Larson
                   ` (2 preceding siblings ...)
  2012-05-14 16:45 ` [PATCH 3/3] tcmode-external-csl: handle TUNE_PKGARCH=core2 Christopher Larson
@ 2012-05-16 18:16 ` Saul Wold
  3 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2012-05-16 18:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Christopher Larson

On 05/14/2012 07:45 PM, Christopher Larson wrote:
> From: Christopher Larson<chris_larson@mentor.com>
>
> The following changes since commit 36d1717e2ad4ca1620ee9f01b524b5ff2f499b26:
>
>    classes/rootfs_*: fix splitting package dependency strings (2012-05-13 20:07:24 +0100)
>
> are available in the git repository at:
>    https://github.com/kergoth/oe-core external-csl-minor-fixes
>
> Christopher Larson (3):
>        tcmode-external-csl: drop unnecessary cppflags/ldflags
>        tcmode-external-csl: avoid hardcoding a list of ia32 archs
>        tcmode-external-csl: handle TUNE_PKGARCH=core2
>
>   meta/conf/distro/include/tcmode-external-csl.inc |   10 +++++-----
>   1 files changed, 5 insertions(+), 5 deletions(-)
>

Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2012-05-16 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 16:45 [PATCH 0/3] Minor tcmode-external-csl fixes Christopher Larson
2012-05-14 16:45 ` [PATCH 1/3] tcmode-external-csl: drop unnecessary cppflags/ldflags Christopher Larson
2012-05-14 16:45 ` [PATCH 2/3] tcmode-external-csl: avoid hardcoding a list of ia32 archs Christopher Larson
2012-05-14 16:45 ` [PATCH 3/3] tcmode-external-csl: handle TUNE_PKGARCH=core2 Christopher Larson
2012-05-16 18:16 ` [PATCH 0/3] Minor tcmode-external-csl fixes Saul Wold

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