xref: /OK3568_Linux_fs/buildroot/package/makedumpfile/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS
2	bool
3	default y if BR2_aarch64 || BR2_aarch64_be
4	default y if BR2_arm || BR2_armeb
5	default y if BR2_i386 || BR2_x86_64
6	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
7	default y if BR2_s390x
8	default y if BR2_sparc64
9
10comment "makedumpfile needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
11	depends on BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS
12	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
13		|| !BR2_TOOLCHAIN_HAS_THREADS \
14		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
15
16config BR2_PACKAGE_MAKEDUMPFILE
17	bool "makedumpfile"
18	depends on BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS
19	depends on BR2_TOOLCHAIN_HAS_THREADS
20	depends on !BR2_STATIC_LIBS # dlopen
21	depends on BR2_USE_WCHAR
22	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
23	select BR2_PACKAGE_BZIP2
24	select BR2_PACKAGE_ELFUTILS
25	select BR2_PACKAGE_XZ
26	select BR2_PACKAGE_ZLIB
27	help
28	  Makes a small dumpfile of kdump.
29
30	  https://github.com/makedumpfile/makedumpfile
31