| 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_s390x |
| default y if BR2_sparc64 |
| |
| comment "makedumpfile needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads" |
| depends on BR2_PACKAGE_MAKEDUMPFILE_ARCH_SUPPORTS |
| depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ |
| || !BR2_TOOLCHAIN_HAS_THREADS \ |
| || !(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 |