xref: /OK3568_Linux_fs/buildroot/package/elfutils/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyuncomment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
2*4882a593Smuzhiyun	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
3*4882a593Smuzhiyun		|| !BR2_TOOLCHAIN_HAS_THREADS \
4*4882a593Smuzhiyun		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig BR2_PACKAGE_ELFUTILS
7*4882a593Smuzhiyun	bool "elfutils"
8*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
9*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
10*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
11*4882a593Smuzhiyun	# Only glibc and uClibc implement the myriad of required GNUisms
12*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
13*4882a593Smuzhiyun	select BR2_PACKAGE_ZLIB
14*4882a593Smuzhiyun	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
15*4882a593Smuzhiyun	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
16*4882a593Smuzhiyun	help
17*4882a593Smuzhiyun	  Libraries/utilities to handle ELF objects (drop in
18*4882a593Smuzhiyun	  replacement for libelf).
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	  Note that this option only installs the libraries, and not
21*4882a593Smuzhiyun	  the programs.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	  https://sourceware.org/elfutils/
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunif BR2_PACKAGE_ELFUTILS
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig BR2_PACKAGE_ELFUTILS_PROGS
28*4882a593Smuzhiyun	bool "Install programs"
29*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  This option tells elfutils to not only install the libelf
32*4882a593Smuzhiyun	  libraries, but also the elfutils programs.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunendif
35