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>
This commit is contained in:
Yann E. MORIN 2015-12-10 19:53:16 +01:00 committed by Peter Korsgaard
parent e93381aac7
commit 0593540919
2 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,5 @@
config BR2_PACKAGE_RACEHOUND config BR2_PACKAGE_RACEHOUND
bool "racehound" bool "racehound"
select BR2_PACKAGE_ELFUTILS
depends on BR2_LINUX_KERNEL depends on BR2_LINUX_KERNEL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
@ -9,6 +8,8 @@ config BR2_PACKAGE_RACEHOUND
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
# only x86/x86_64 supported # only x86/x86_64 supported
depends on BR2_i386 || BR2_x86_64 depends on BR2_i386 || BR2_x86_64
select BR2_PACKAGE_ELFUTILS
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
help help
RaceHound can be used to detect data races in the Linux RaceHound can be used to detect data races in the Linux
kernel on x86. kernel on x86.

View File

@ -12,12 +12,6 @@ RACEHOUND_SUPPORTS_IN_SOURCE_BUILD = NO
RACEHOUND_DEPENDENCIES = elfutils linux 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 # override auto detection (uses host parameters, not cross compile
# ready) # ready)
RACEHOUND_CONF_OPTS += \ RACEHOUND_CONF_OPTS += \