xref: /OK3568_Linux_fs/buildroot/package/libbsd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
2	bool
3	default y
4	# libbsd does not support those architectures (see src/local-elf.h)
5	depends on !BR2_microblaze
6	depends on !BR2_arc
7	depends on !BR2_xtensa
8	depends on !BR2_nds32
9
10config BR2_PACKAGE_LIBBSD
11	bool "libbsd"
12	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
13	depends on !BR2_STATIC_LIBS
14	depends on BR2_TOOLCHAIN_HAS_THREADS
15	depends on BR2_USE_WCHAR
16	help
17	  This library provides useful functions commonly found on BSD
18	  systems, and lacking on others like GNU systems, thus making
19	  it easier to port projects with strong BSD origins, without
20	  needing to embed the same code over and over again on each
21	  project.
22
23	  http://libbsd.freedesktop.org/
24
25comment "libbsd needs a toolchain w/ dynamic library, threads, wchar"
26	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
27	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
28		!BR2_USE_WCHAR
29