xref: /OK3568_Linux_fs/buildroot/package/icu/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_ICU
2	bool "icu"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_USE_WCHAR
5	depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++11 PR56019
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 PR56019
7	depends on BR2_TOOLCHAIN_HAS_THREADS
8	# icu does some funky things by generating by itself an ELF
9	# file, and it cannot easily be changed to generate FLAT
10	# format.
11	depends on !BR2_BINFMT_FLAT
12	help
13	  International Components for Unicode.
14
15	  https://icu.unicode.org/
16
17if BR2_PACKAGE_ICU
18
19config BR2_PACKAGE_ICU_CUSTOM_DATA_PATH
20	string "Path to custom data library file"
21	help
22	  This option allows to define the path to a custom data
23	  library generated with http://apps.icu-project.org/datacustom/
24	  Make sure you select the appropiate version to match the one
25	  provided by buildroot.
26	  Leave empty to not use this functionality.
27
28endif
29
30comment "icu needs a toolchain w/ C++, wchar, threads, gcc >= 4.9, host gcc >= 4.9"
31	depends on !BR2_BINFMT_FLAT
32	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
33		!BR2_TOOLCHAIN_HAS_THREADS || \
34		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
35		!BR2_HOST_GCC_AT_LEAST_4_9
36