aboutsummaryrefslogtreecommitdiff
path: root/package/racehound
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-12-10 19:53:16 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-12-29 23:51:57 +0100
commit0593540919016e80dc1a5aea6b3b92d527ec9e77 (patch)
treef2ca4cb560a1d4dd27a481061f0674ad25a19445 /package/racehound
parente93381aac77b7482794d0acd2b3e3563b0f40354 (diff)
downloadbuildroot-0593540919016e80dc1a5aea6b3b92d527ec9e77.tar.gz
buildroot-0593540919016e80dc1a5aea6b3b92d527ec9e77.tar.bz2
package/racehound: require kernel modules from Kconfig
And reorder 'select' after 'depends' Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/racehound')
-rw-r--r--package/racehound/Config.in3
-rw-r--r--package/racehound/racehound.mk6
2 files changed, 2 insertions, 7 deletions
diff --git a/package/racehound/Config.in b/package/racehound/Config.in
index b9c4f364c1..9f1011bf0e 100644
--- a/package/racehound/Config.in
+++ b/package/racehound/Config.in
@@ -1,6 +1,5 @@
config BR2_PACKAGE_RACEHOUND
bool "racehound"
- select BR2_PACKAGE_ELFUTILS
depends on BR2_LINUX_KERNEL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
depends on BR2_INSTALL_LIBSTDCPP
@@ -9,6 +8,8 @@ config BR2_PACKAGE_RACEHOUND
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
# only x86/x86_64 supported
depends on BR2_i386 || BR2_x86_64
+ select BR2_PACKAGE_ELFUTILS
+ select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
help
RaceHound can be used to detect data races in the Linux
kernel on x86.
diff --git a/package/racehound/racehound.mk b/package/racehound/racehound.mk
index 66f3ebec36..7d8d1e3542 100644
--- a/package/racehound/racehound.mk
+++ b/package/racehound/racehound.mk
@@ -12,12 +12,6 @@ RACEHOUND_SUPPORTS_IN_SOURCE_BUILD = NO
RACEHOUND_DEPENDENCIES = elfutils linux
-# We're building a kernel module without using the kernel-module infra,
-# so we need to tell we want module support in the kernel
-ifeq ($(BR2_PACKAGE_RACEHOUND),y)
-LINUX_NEEDS_MODULES = y
-endif
-
# override auto detection (uses host parameters, not cross compile
# ready)
RACEHOUND_CONF_OPTS += \