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