[OE-core] [PATCH 2/2] eglibc: clean up the common code from 2.1[35] versions

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Fri Apr 13 04:43:45 UTC 2012


From: Nitin A Kamble <nitin.a.kamble at intel.com>

consolidate all the common cached config vars in one location

no PR bump as this does not change the output of the recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 meta/recipes-core/eglibc/eglibc.inc     |    2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |    3 ---
 meta/recipes-core/eglibc/eglibc_2.15.bb |    2 --
 3 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 6693447..222919e 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -55,4 +55,4 @@ GLIBC_ADDONS ?= "ports,nptl,libidn"
 SDK_GLIBC_ADDONS ?= "ports,nptl,libidn"
 GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}"
 
-CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl"
+CACHED_CONFIGUREVARS = "libc_cv_slibdir=${base_libdir} ac_cv_path_PERL=${bindir}/perl"
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index fd6b60a..178fc5d 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -56,9 +56,6 @@ python __anonymous () {
                                    d.getVar('TARGET_OS', True))
 }
 
-export libc_cv_slibdir = "${base_libdir}"
-
-
 EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-cvs --disable-profile --disable-debug --without-gd \
                 --enable-clocale=gnu \
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index a9c551a..ea9cb57 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -61,8 +61,6 @@ python __anonymous () {
                                    d.getVar('TARGET_OS', True))
 }
 
-export libc_cv_slibdir = "${base_libdir}"
-
 EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-cvs --disable-profile --disable-debug --without-gd \
                 --enable-clocale=gnu \
-- 
1.7.7





More information about the Openembedded-core mailing list