1 config BR2_PACKAGE_RACEHOUND
3 select BR2_PACKAGE_ELFUTILS
4 depends on BR2_LINUX_KERNEL
5 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
6 depends on BR2_INSTALL_LIBSTDCPP
7 depends on BR2_USE_WCHAR # elfutils
8 depends on !BR2_STATIC_LIBS # elfutils
9 depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
10 # only x86/x86_64 supported
11 depends on BR2_i386 || BR2_x86_64
13 RaceHound can be used to detect data races in the Linux
16 RaceHound needs the following kernel configurations enabled:
17 - CONFIG_X86_32 or CONFIG_X86_64
19 - CONFIG_MODULE_UNLOAD
26 https://github.com/winnukem/racehound
28 comment "racehound needs an Linux kernel >= 3.14 to be built"
29 depends on !BR2_LINUX_KERNEL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
30 depends on BR2_i386 || BR2_x86_64
32 comment "racehound needs a uClibc or (e)glibc toolchain w/ C++, wchar, dynamic library"
33 depends on BR2_i386 || BR2_x86_64
34 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
35 || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)