xref: /OK3568_Linux_fs/buildroot/package/cctz/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_CCTZ
2	bool "cctz"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
6	select BR2_TARGET_TZ_INFO # runtime dependency
7	help
8	  CCTZ is a C++ library for translating between absolute
9	  and civil times using the rules of a time zone.
10
11	  https://github.com/google/cctz
12
13if BR2_PACKAGE_CCTZ
14
15config BR2_PACKAGE_CCTZ_INSTALL_TOOLS
16	bool "Install tools"
17	help
18	  This option allows installing CCTZ tools.
19
20config BR2_PACKAGE_CCTZ_INSTALL_EXAMPLES
21	bool "Install example programs"
22	help
23	  This option allows installing CCTZ example programs.
24
25endif
26
27comment "cctz needs a toolchain w/ C++, threads, gcc >= 4.8"
28	depends on !BR2_INSTALL_LIBSTDCPP || \
29		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
30