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