diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-04-03 08:13:51 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-03 14:08:02 +0100 |
commit | 4fbc283c00494803d93c02a6828f27e2c713d26d (patch) | |
tree | a9a3dd7810209d0dec4748ee407171bdc1750458 /meta | |
parent | 7819e67a9badd9dc0382557f90b1a3397c09f08f (diff) | |
download | poky-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.conf | 2 | ||||
-rw-r--r-- | meta/conf/machine-sdk/i686.conf | 2 | ||||
-rw-r--r-- | meta/conf/machine-sdk/x86_64.conf | 4 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc.inc | 4 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.13.bb | 5 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.15.bb | 4 |
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 @@ | |||
1 | SDK_ARCH = "i586" | 1 | SDK_ARCH = "i586" |
2 | SDK_CC_ARCH = "-march=i586" | 2 | SDK_CC_ARCH = "-march=i586" |
3 | |||
4 | SDK_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 @@ | |||
1 | SDK_ARCH = "i686" | 1 | SDK_ARCH = "i686" |
2 | SDK_CC_ARCH = "-march=i686" | 2 | SDK_CC_ARCH = "-march=i686" |
3 | |||
4 | SDK_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 @@ | |||
1 | SDK_ARCH = "x86_64" \ No newline at end of file | 1 | SDK_ARCH = "x86_64" |
2 | |||
3 | SDK_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 | |||
54 | GLIBC_ADDONS ?= "ports,nptl,libidn" | ||
55 | SDK_GLIBC_ADDONS ?= "ports,nptl,libidn" | ||
56 | GLIBC_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 | |||
3 | SRCREV = "15508" | 3 | SRCREV = "15508" |
4 | 4 | ||
5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
6 | PR = "r22" | 6 | PR = "r23" |
7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
8 | 8 | ||
9 | EGLIBC_BRANCH="eglibc-2_13" | 9 | EGLIBC_BRANCH="eglibc-2_13" |
@@ -36,8 +36,6 @@ PROVIDES_${PN}-dbg = "glibc-dbg" | |||
36 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 36 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
37 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" | 37 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" |
38 | 38 | ||
39 | GLIBC_ADDONS ?= "ports,nptl,libidn" | ||
40 | |||
41 | GLIBC_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" | 39 | GLIBC_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 | ||
43 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | 41 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" |
@@ -60,6 +58,7 @@ python __anonymous () { | |||
60 | 58 | ||
61 | export libc_cv_slibdir = "${base_libdir}" | 59 | export libc_cv_slibdir = "${base_libdir}" |
62 | 60 | ||
61 | |||
63 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | 62 | EXTRA_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 | |||
3 | SRCREV = "17386" | 3 | SRCREV = "17386" |
4 | 4 | ||
5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
6 | PR = "r2" | 6 | PR = "r3" |
7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
8 | 8 | ||
9 | EGLIBC_BRANCH="eglibc-2_15" | 9 | EGLIBC_BRANCH="eglibc-2_15" |
@@ -41,8 +41,6 @@ PROVIDES_${PN}-dbg = "glibc-dbg" | |||
41 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 41 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
42 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" | 42 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" |
43 | 43 | ||
44 | GLIBC_ADDONS ?= "ports,nptl,libidn" | ||
45 | |||
46 | GLIBC_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" | 44 | GLIBC_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 | ||
48 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | 46 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc-${PV}', '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" |