All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Populate libc's siteconfig file into metatoolchain
@ 2012-03-23  8:33 Lianhao Lu
  2012-03-23  8:33 ` [PATCH 1/1] meta-toolchain: Popluated the libc siteconfig files Lianhao Lu
  2012-04-03 21:24 ` [PATCH 0/1] Populate libc's siteconfig file into metatoolchain Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Lianhao Lu @ 2012-03-23  8:33 UTC (permalink / raw)
  To: openembedded-core

This fixed the Yocto bug #2159

The following changes since commit b92aaf764e6de94fb9fdee610e8f6643ccf74894:
  Richard Purdie (1):
        gst-plugins-bluetooth: Don't install headers, man pages or .pc files

are available in the git repository at:

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

Lianhao Lu (1):
  meta-toolchain: Popluated the libc siteconfig files.

 meta/classes/toolchain-scripts.bbclass     |    8 ++------
 meta/recipes-core/meta/meta-environment.bb |    2 +-
 meta/recipes-core/meta/meta-toolchain.bb   |    2 +-
 3 files changed, 4 insertions(+), 8 deletions(-)




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

* [PATCH 1/1] meta-toolchain: Popluated the libc siteconfig files.
  2012-03-23  8:33 [PATCH 0/1] Populate libc's siteconfig file into metatoolchain Lianhao Lu
@ 2012-03-23  8:33 ` Lianhao Lu
  2012-04-03 21:24 ` [PATCH 0/1] Populate libc's siteconfig file into metatoolchain Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Lianhao Lu @ 2012-03-23  8:33 UTC (permalink / raw)
  To: openembedded-core

Fixed bug [YOCTO #2159] by correctly populate the libc's siteconfig
files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
 meta/classes/toolchain-scripts.bbclass     |    8 ++------
 meta/recipes-core/meta/meta-environment.bb |    2 +-
 meta/recipes-core/meta/meta-toolchain.bb   |    2 +-
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 711efd3..2099c4d 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -105,7 +105,7 @@ toolchain_create_sdk_env_script_for_installer () {
 #we get the cached site config in the runtime
 TOOLCHAIN_CONFIGSITE_NOCACHE := "${@siteinfo_get_files(d, True)}"
 TOOLCHAIN_CONFIGSITE_SYSROOTCACHE := "${STAGING_DATADIR}/${TARGET_SYS}_config_site.d"
-TOOLCHAIN_NEED_CONFIGSITE_CACHE = "ncurses"
+TOOLCHAIN_NEED_CONFIGSITE_CACHE = "${TCLIBC} ncurses"
 
 #This function create a site config file
 toolchain_create_sdk_siteconfig () {
@@ -113,9 +113,7 @@ toolchain_create_sdk_siteconfig () {
 
 	rm -f $siteconfig
 	touch $siteconfig
-	if [ "${LIBC}" = "eglibc" ]; then
-		TOOLCHAIN_NEED_CONFIGSITE_CACHE = "${TOOLCHAIN_NEED_CONFIGSITE_CACHE} eglibc"
-	fi
+
 	for sitefile in ${TOOLCHAIN_CONFIGSITE_NOCACHE} ; do
 		cat $sitefile >> $siteconfig
 	done
@@ -146,7 +144,5 @@ python __anonymous () {
     deps = ""
     for dep in (d.getVar('TOOLCHAIN_NEED_CONFIGSITE_CACHE', True) or "").split():
         deps += " %s:do_populate_sysroot" % dep
-    if d.getVar('TCLIBC', True) is "uclibc":
-	deps += "uclibc:do_populate_sysroot"
     d.appendVarFlag('do_configure', 'depends', deps)
 }
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index 8f9391a..9731300 100644
--- a/meta/recipes-core/meta/meta-environment.bb
+++ b/meta/recipes-core/meta/meta-environment.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Package of environment files for SDK"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 LICENSE = "MIT"
-PR = "r7"
+PR = "r8"
 
 EXCLUDE_FROM_WORLD = "1"
 
diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb
index 1058c68..61f9d34 100644
--- a/meta/recipes-core/meta/meta-toolchain.bb
+++ b/meta/recipes-core/meta/meta-toolchain.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "Meta package for building a installable toolchain"
 LICENSE = "MIT"
 
-PR = "r6"
+PR = "r7"
 
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-- 
1.7.0.4




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

* Re: [PATCH 0/1] Populate libc's siteconfig file into metatoolchain
  2012-03-23  8:33 [PATCH 0/1] Populate libc's siteconfig file into metatoolchain Lianhao Lu
  2012-03-23  8:33 ` [PATCH 1/1] meta-toolchain: Popluated the libc siteconfig files Lianhao Lu
@ 2012-04-03 21:24 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-04-03 21:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 03/23/2012 01:33 AM, Lianhao Lu wrote:
> This fixed the Yocto bug #2159
>
> The following changes since commit b92aaf764e6de94fb9fdee610e8f6643ccf74894:
>    Richard Purdie (1):
>          gst-plugins-bluetooth: Don't install headers, man pages or .pc files
>
> are available in the git repository at:
>
>    git://git.yoctoproject.org/poky-contrib llu/siteconfig
>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/siteconfig
>
> Lianhao Lu (1):
>    meta-toolchain: Popluated the libc siteconfig files.
>
>   meta/classes/toolchain-scripts.bbclass     |    8 ++------
>   meta/recipes-core/meta/meta-environment.bb |    2 +-
>   meta/recipes-core/meta/meta-toolchain.bb   |    2 +-
>   3 files changed, 4 insertions(+), 8 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2012-04-03 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23  8:33 [PATCH 0/1] Populate libc's siteconfig file into metatoolchain Lianhao Lu
2012-03-23  8:33 ` [PATCH 1/1] meta-toolchain: Popluated the libc siteconfig files Lianhao Lu
2012-04-03 21:24 ` [PATCH 0/1] Populate libc's siteconfig file into metatoolchain Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.