Patchwork eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk

login
register
mail settings
Submitter Kumar Gala
Date Aug. 9, 2011, 3:52 a.m.
Message ID <1312861931-5656-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/9528/
State New, archived
Headers show

Comments

Kumar Gala - Aug. 9, 2011, 3:52 a.m.
Don't use GLIBC_EXTRA_OECONF for the nativesdk builds.  Easiest solution
is to just override it settings.  Otherwise we might pickup configure
options ment for the target build.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 meta/recipes-core/eglibc/eglibc.inc     |    1 +
 meta/recipes-core/eglibc/eglibc_2.12.bb |    2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
Richard Purdie - Aug. 10, 2011, 12:26 p.m.
On Mon, 2011-08-08 at 22:52 -0500, Kumar Gala wrote:
> Don't use GLIBC_EXTRA_OECONF for the nativesdk builds.  Easiest solution
> is to just override it settings.  Otherwise we might pickup configure
> options ment for the target build.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
>  meta/recipes-core/eglibc/eglibc.inc     |    1 +
>  meta/recipes-core/eglibc/eglibc_2.12.bb |    2 +-
>  meta/recipes-core/eglibc/eglibc_2.13.bb |    2 +-
>  3 files changed, 3 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 0f97f82..9088d02 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -31,6 +31,7 @@  require eglibc-options.inc
 LEAD_SONAME = "libc.so"
 
 GLIBC_EXTRA_OECONF ?= ""
+GLIBC_EXTRA_OECONF_virtclass-nativesdk = ""
 INHIBIT_DEFAULT_DEPS = "1"
 
 ARM_INSTRUCTION_SET = "arm"
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb b/meta/recipes-core/eglibc/eglibc_2.12.bb
index ce16bd6..1a69bdc 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@ 
 require eglibc.inc
 
 DEPENDS += "gperf-native"
-PR = "r21"
+PR = "r22"
 
 SRCREV = "14158"
 
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index b0a8bfd..915eb32 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -3,7 +3,7 @@  require eglibc.inc
 SRCREV = "14157"
 
 DEPENDS += "gperf-native"
-PR = "r11"
+PR = "r12"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_13"