2015-05-23 00:18:41 +02:00
|
|
|
config BR2_PACKAGE_RACEHOUND
|
|
|
|
bool "racehound"
|
|
|
|
depends on BR2_LINUX_KERNEL
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_USE_WCHAR # elfutils
|
|
|
|
depends on !BR2_STATIC_LIBS # elfutils
|
2015-08-07 23:37:51 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
2015-05-23 00:18:41 +02:00
|
|
|
# only x86/x86_64 supported
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2015-12-10 19:53:16 +01:00
|
|
|
select BR2_PACKAGE_ELFUTILS
|
|
|
|
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
|
2015-05-23 00:18:41 +02:00
|
|
|
help
|
|
|
|
RaceHound can be used to detect data races in the Linux
|
|
|
|
kernel on x86.
|
|
|
|
|
|
|
|
RaceHound needs the following kernel configurations enabled:
|
|
|
|
- CONFIG_X86_32 or CONFIG_X86_64
|
|
|
|
- CONFIG_MODULES
|
|
|
|
- CONFIG_MODULE_UNLOAD
|
|
|
|
- CONFIG_SYSFS
|
|
|
|
- CONFIG_DEBUG_FS
|
|
|
|
- CONFIG_KALLSYMS
|
2015-07-16 23:24:12 +02:00
|
|
|
- CONFIG_KALLSYMS_ALL
|
2015-05-23 00:18:41 +02:00
|
|
|
- CONFIG_KPROBES
|
|
|
|
|
|
|
|
https://github.com/winnukem/racehound
|
|
|
|
|
2015-07-16 23:24:12 +02:00
|
|
|
comment "racehound needs an Linux kernel >= 3.14 to be built"
|
2016-04-12 19:20:50 +02:00
|
|
|
depends on !BR2_LINUX_KERNEL
|
2015-05-23 00:18:41 +02:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "racehound needs a uClibc or glibc toolchain w/ C++, wchar, dynamic library"
|
2015-05-23 00:18:41 +02:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2015-08-08 20:58:34 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
2016-04-13 22:24:37 +02:00
|
|
|
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|