summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-04-03 08:13:51 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-03 14:08:02 +0100
commit4fbc283c00494803d93c02a6828f27e2c713d26d (patch)
treea9a3dd7810209d0dec4748ee407171bdc1750458 /meta
parent7819e67a9badd9dc0382557f90b1a3397c09f08f (diff)
downloadpoky-4fbc283c00494803d93c02a6828f27e2c713d26d.tar.gz
eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.
Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. (From OE-Core rev: e165203a6a7eb1fd47a20c3ede4d5a20ad49487f) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine-sdk/i586.conf2
-rw-r--r--meta/conf/machine-sdk/i686.conf2
-rw-r--r--meta/conf/machine-sdk/x86_64.conf4
-rw-r--r--meta/recipes-core/eglibc/eglibc.inc4
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.13.bb5
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.15.bb4
6 files changed, 14 insertions, 7 deletions
diff --git a/meta/conf/machine-sdk/i586.conf b/meta/conf/machine-sdk/i586.conf
index 0b748a5026..190f2bdfb7 100644
--- a/meta/conf/machine-sdk/i586.conf
+++ b/meta/conf/machine-sdk/i586.conf
@@ -1,2 +1,4 @@
1SDK_ARCH = "i586" 1SDK_ARCH = "i586"
2SDK_CC_ARCH = "-march=i586" 2SDK_CC_ARCH = "-march=i586"
3
4SDK_GLIBC_ADDONS = "nptl"
diff --git a/meta/conf/machine-sdk/i686.conf b/meta/conf/machine-sdk/i686.conf
index ffdb46131c..3e8e4f4f45 100644
--- a/meta/conf/machine-sdk/i686.conf
+++ b/meta/conf/machine-sdk/i686.conf
@@ -1,2 +1,4 @@
1SDK_ARCH = "i686" 1SDK_ARCH = "i686"
2SDK_CC_ARCH = "-march=i686" 2SDK_CC_ARCH = "-march=i686"
3
4SDK_GLIBC_ADDONS = "nptl"
diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf
index a6adb2817d..9495842a14 100644
--- a/meta/conf/machine-sdk/x86_64.conf
+++ b/meta/conf/machine-sdk/x86_64.conf
@@ -1 +1,3 @@
1SDK_ARCH = "x86_64" \ No newline at end of file 1SDK_ARCH = "x86_64"
2
3SDK_GLIBC_ADDONS = "nptl"
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index da5c1872ea..8e3fe503b8 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -50,3 +50,7 @@ do_configure_prepend() {
50 sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in 50 sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
51 echo '${OE_FEATURES}' > ${B}/option-groups.config 51 echo '${OE_FEATURES}' > ${B}/option-groups.config
52} 52}
53
54GLIBC_ADDONS ?= "ports,nptl,libidn"
55SDK_GLIBC_ADDONS ?= "ports,nptl,libidn"
56GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}"
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index e02c80fe44..927f72faac 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
3SRCREV = "15508" 3SRCREV = "15508"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r22" 6PR = "r23"
7PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
8 8
9EGLIBC_BRANCH="eglibc-2_13" 9EGLIBC_BRANCH="eglibc-2_13"
@@ -36,8 +36,6 @@ PROVIDES_${PN}-dbg = "glibc-dbg"
36BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" 36BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
37TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" 37TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}"
38 38
39GLIBC_ADDONS ?= "ports,nptl,libidn"
40
41GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1" 39GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1"
42 40
43FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" 41FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
@@ -60,6 +58,7 @@ python __anonymous () {
60 58
61export libc_cv_slibdir = "${base_libdir}" 59export libc_cv_slibdir = "${base_libdir}"
62 60
61
63EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ 62EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
64 --without-cvs --disable-profile --disable-debug --without-gd \ 63 --without-cvs --disable-profile --disable-debug --without-gd \
65 --enable-clocale=gnu \ 64 --enable-clocale=gnu \
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index 75ccace76b..1575e7fa75 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -3,7 +3,7 @@ require eglibc.inc
3SRCREV = "17386" 3SRCREV = "17386"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r2" 6PR = "r3"
7PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
8 8
9EGLIBC_BRANCH="eglibc-2_15" 9EGLIBC_BRANCH="eglibc-2_15"
@@ -41,8 +41,6 @@ PROVIDES_${PN}-dbg = "glibc-dbg"
41BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" 41BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
42TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" 42TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}"
43 43
44GLIBC_ADDONS ?= "ports,nptl,libidn"
45
46GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1" 44GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1"
47 45
48FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" 46FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"