8797a8cb58
icu does not recognize 'uclinux' as a supported platform. While making it recognize uclinux is easy, there is another problem down the road: icu does very weird things to generate an ELF library containing static data (libicudata.a), and the generated library being ELF, it is not compatible with the FLAT binary format expected by uclinux platforms such as Blackfin in FLAT format. Therefore, we simply disallow the selection of icu on FLAT platforms. Note that adding a dependency on BR2_BINFMT_ELF doesn't work, because BR2_BINFMT_FDPIC is considered to be separate (even if technically FDPIC is a derivative of ELF). That's why the dependency we're adding is "depends on !BR2_BINFMT_FLAT" and not "depends on BR2_BINFMT_ELF". Fixes: http://autobuild.buildroot.org/results/b41/b415fed7fae4012bad7d8b53a481bd71bdab716f/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
604 B
Plaintext
21 lines
604 B
Plaintext
config BR2_PACKAGE_ICU
|
|
bool "icu"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
# icu does some funky things by generating by itself an ELF
|
|
# file, and it cannot easily be changed to generate FLAT
|
|
# format.
|
|
depends on !BR2_BINFMT_FLAT
|
|
depends on !BR2_arc # atomic builtins
|
|
help
|
|
International Components for Unicode.
|
|
|
|
http://site.icu-project.org/
|
|
|
|
comment "icu needs a toolchain w/ C++, wchar, threads"
|
|
depends on !BR2_arc
|
|
depends on !BR2_BINFMT_FLAT
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS
|