1config BR2_PACKAGE_KMEMD
2	bool "kmemd"
3	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libbpf
4	depends on BR2_USE_WCHAR # libbpf
5	depends on !BR2_STATIC_LIBS # libbpf
6	depends on BR2_TOOLCHAIN_HAS_THREADS # libbpf
7	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
8	select BR2_PACKAGE_LIBBPF
9	help
10	  Explore a live Linux kernel's memory using GDB
11
12	  https://github.com/wkz/kmemd
13
14comment "kmemd needs a toolchain w/ wchar, dynamic library, threads, headers >= 5.14"
15	depends on BR2_TOOLCHAIN_HAS_SYNC_4
16	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
17		|| !BR2_TOOLCHAIN_HAS_THREADS \
18		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
19