uclibc: Configure UCLIBC_HAS_WCHAR based on libc-posix-clang-wchar distro feature

(From OE-Core rev: 80e6f9201ffa3b8f52f6d452c8657ec6fda4749c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2012-01-09 11:45:02 -08:00
committed by Richard Purdie
parent c9f68fc709
commit 469b134948

View File

@@ -105,6 +105,7 @@ def features_to_uclibc_settings(d):
uclibc_cfg('ssp', distro_features, 'UCLIBC_HAS_SSP', cnf, rem)
uclibc_cfg('argp', distro_features, 'UCLIBC_HAS_ARGP', cnf, rem)
uclibc_cfg('kernel24', machine_features,'UCLIBC_LINUX_MODULE_24', cnf, rem)
uclibc_cfg('libc-posix-clang-wchar', distro_features,'UCLIBC_HAS_WCHAR', cnf, rem)
return "\n".join(cnf), "\n".join(rem)
# X, Y = ${@features_to_uclibc_settings(d)}
# unfortunately doesn't seem to work with bitbake, workaround: