summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-23 22:36:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-26 14:40:47 +0100
commitfecb95620ab130de7718e97f37ffb6aecf0ea0e2 (patch)
tree85ef06d46aba711b9825d33115da9ad06158689a /meta/recipes-core
parentd9a0e081e6608533cdf26702c6220effe09f541c (diff)
downloadpoky-fecb95620ab130de7718e97f37ffb6aecf0ea0e2.tar.gz
eglibc-initial: Fix build failure due to missing limits.h
We have had these things in place to overcome a limitation from our gcc-initial-cross not staging a self sufficient limits.h. Now thats fixed we do reset TOOLCHAIN_OPTIONS to point to sysroot where linux kernel headers are staged and not the bootstrap sysroot which will infact be popuated by eglibc-initial itself. Secondly we dont need to set CPPFLAGS specially as we are doing that in eglibc.inc so we override that (From OE-Core rev: 3045ab9b3efc887700a922d06a6f5f4069a41356) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/eglibc-initial.inc1
-rw-r--r--meta/recipes-core/eglibc/eglibc-initial_2.16.bb9
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.16.bb2
3 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc
index 906251633b..1020e402d3 100644
--- a/meta/recipes-core/eglibc/eglibc-initial.inc
+++ b/meta/recipes-core/eglibc/eglibc-initial.inc
@@ -8,6 +8,7 @@ PACKAGES_DYNAMIC = ""
8 8
9STAGINGCC = "gcc-cross-initial" 9STAGINGCC = "gcc-cross-initial"
10STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial" 10STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial"
11TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
11 12
12do_configure () { 13do_configure () {
13 sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure 14 sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure
diff --git a/meta/recipes-core/eglibc/eglibc-initial_2.16.bb b/meta/recipes-core/eglibc/eglibc-initial_2.16.bb
index 787c762609..f6b09ac987 100644
--- a/meta/recipes-core/eglibc/eglibc-initial_2.16.bb
+++ b/meta/recipes-core/eglibc/eglibc-initial_2.16.bb
@@ -1,6 +1,9 @@
1require eglibc_${PV}.bb 1require eglibc_${PV}.bb
2require eglibc-initial.inc 2require eglibc-initial.inc
3 3
4do_configure_prepend () { 4# main eglibc recipes muck with TARGET_CPPFLAGS to point into
5 unset CFLAGS 5# final target sysroot but we
6} 6# are not there when building eglibc-initial
7# so reset it here
8
9TARGET_CPPFLAGS = ""
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb
index b76d94320e..fc3d82bd8c 100644
--- a/meta/recipes-core/eglibc/eglibc_2.16.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.16.bb
@@ -3,7 +3,7 @@ require eglibc.inc
3SRCREV = "19383" 3SRCREV = "19383"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r1" 6PR = "r2"
7PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
8 8
9EGLIBC_BRANCH="eglibc-2_16" 9EGLIBC_BRANCH="eglibc-2_16"