aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Werner <ken.werner@linaro.org>2012-04-20 18:06:26 +0200
committerKen Werner <ken.werner@linaro.org>2012-04-23 15:24:51 +0200
commit66907d4b59d6ed66cfcc8c7deba92d31fc3ec2da (patch)
treefdc8b37ff4f6265965ef09c3d567081b3e5779fe
parenta038795ded4febe8df6d736ab9a9ecf1b5cef087 (diff)
downloadmeta-linaro-66907d4b59d6ed66cfcc8c7deba92d31fc3ec2da.tar.gz
tcmode-external-linaro.inc: Explicitly set DISTRO_FEATURES_LIBC.
Specify DISTRO_FEATURES_LIBC to match the configuration of the binary libc provided by the external binary toolchain. The libc-charsets, libc-locales and libc-locale-code features have been removed since the sysroot provided by the toolchain contains no i18n folder. In case libc-charsets, libc-locales and libc-locale-code are enabled the libc-package.bbclass sets PACKAGE_NO_GCONV to zero and package_do_split_gconvs fails later on because there is no /path/to/eglibc-locale-2.15-r20/package/usr/share/i18n/charmaps. It's been exposed by the following fix: http://git.openembedded.org/openembedded-core/commit/?id=b56e3680e729d8216fe533cdfaf4678fe94b76f0 Signed-off-by: Ken Werner <ken.werner@linaro.org>
-rw-r--r--conf/distro/include/tcmode-external-linaro.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/distro/include/tcmode-external-linaro.inc b/conf/distro/include/tcmode-external-linaro.inc
index cf7128d6..212d310d 100644
--- a/conf/distro/include/tcmode-external-linaro.inc
+++ b/conf/distro/include/tcmode-external-linaro.inc
@@ -31,6 +31,13 @@ TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib -Wl,-rp
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"
+DISTRO_FEATURES_LIBC = "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-crypt \
+ libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
+ libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big \
+ libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \
+ libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
+ libc-posix-wchar-io"
+
def populate_toolchain_links(d):
import errno
import os