Patchwork [2/2] eglibc: clean up the common code from 2.1[35] versions

login
register
mail settings
Submitter Nitin A Kamble
Date April 13, 2012, 4:43 a.m.
Message ID <5f8314f50e2934a055cf6d17da180c89b9740e89.1334292091.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/25717/
State New
Headers show

Comments

Nitin A Kamble - April 13, 2012, 4:43 a.m.
From: Nitin A Kamble <nitin.a.kamble@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@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(-)

Patch

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 \