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