aboutsummaryrefslogtreecommitdiff
path: root/package/makedumpfile/Config.in
blob: a90ccbdf3c617ea44fb1d3cc55a4727cb639f92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
config BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS
	bool
	default y if BR2_aarch64 || BR2_aarch64_be
	default y if BR2_arm || BR2_armeb
	default y if BR2_i386 || BR2_x86_64
	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
	default y if BR2_sparc64

comment "makedumpfile needs a uClibc or glibc toolchain w/ wchar, dynamic library"
	depends on BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS
	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)

config BR2_PACKAGE_MAKEDUMPFILE
	bool "makedumpfile"
	depends on BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_STATIC_LIBS # dlopen
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
	select BR2_PACKAGE_BZIP2
	select BR2_PACKAGE_ELFUTILS
	select BR2_PACKAGE_XZ
	select BR2_PACKAGE_ZLIB
	help
	  Makes a small dumpfile of kdump.

	  https://github.com/makedumpfile/makedumpfile