xref: /OK3568_Linux_fs/buildroot/package/racehound/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_RACEHOUND
2*4882a593Smuzhiyun	bool "racehound"
3*4882a593Smuzhiyun	depends on BR2_LINUX_KERNEL
4*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
5*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # elfutils
6*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # elfutils
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
8*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
9*4882a593Smuzhiyun	# only x86/x86_64 supported
10*4882a593Smuzhiyun	depends on BR2_i386 || BR2_x86_64
11*4882a593Smuzhiyun	select BR2_PACKAGE_ELFUTILS
12*4882a593Smuzhiyun	select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
13*4882a593Smuzhiyun	help
14*4882a593Smuzhiyun	  RaceHound can be used to detect data races in the Linux
15*4882a593Smuzhiyun	  kernel on x86.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  RaceHound needs the following kernel configurations enabled:
18*4882a593Smuzhiyun	  - CONFIG_X86_32 or CONFIG_X86_64
19*4882a593Smuzhiyun	  - CONFIG_MODULES
20*4882a593Smuzhiyun	  - CONFIG_MODULE_UNLOAD
21*4882a593Smuzhiyun	  - CONFIG_SYSFS
22*4882a593Smuzhiyun	  - CONFIG_DEBUG_FS
23*4882a593Smuzhiyun	  - CONFIG_KALLSYMS
24*4882a593Smuzhiyun	  - CONFIG_KALLSYMS_ALL
25*4882a593Smuzhiyun	  - CONFIG_KPROBES
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	  https://github.com/winnukem/racehound
28*4882a593Smuzhiyun
29*4882a593Smuzhiyuncomment "racehound needs an Linux kernel >= 3.14 to be built"
30*4882a593Smuzhiyun	depends on !BR2_LINUX_KERNEL
31*4882a593Smuzhiyun	depends on BR2_i386 || BR2_x86_64
32*4882a593Smuzhiyun
33*4882a593Smuzhiyuncomment "racehound needs a uClibc or glibc toolchain w/ C++, wchar, dynamic library, threads"
34*4882a593Smuzhiyun	depends on BR2_i386 || BR2_x86_64
35*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
36*4882a593Smuzhiyun		|| !BR2_TOOLCHAIN_HAS_THREADS \
37*4882a593Smuzhiyun		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
38