summaryrefslogtreecommitdiffstats
path: root/package/racehound
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-09-03 14:54:21 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-09-04 13:16:58 +0200
commit727bae0245f306332c710c9c020c59bd975d8711 (patch)
treef5e23a9a79545368d0b86192b1ebfaae6891bfa5 /package/racehound
parent2e95747ab9b6b0bf97007ce2733321c90462249a (diff)
downloadbuildroot-727bae0245f306332c710c9c020c59bd975d8711.tar.gz
buildroot-727bae0245f306332c710c9c020c59bd975d8711.zip
packages: ensure linux supports modules even when not using kernel-module
Some packages build kernel modules without using the kernel-module infra (because they use custom build systems); they do not automatically get the kernel to support modules which is ensured when using the infra. It must be done manually for all those packages, whenever they are enabled. Note: the nvidia-driver case does not need the ifeq-block other packages use, because it is already enclosed in a more stringent ifeq-block. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: NoƩ Rubinstein <nrubinstein@aldebaran.com> Cc: Jan Viktorin <viktorin@rehivetech.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Jan Viktorin <viktorin@rehivetech.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/racehound')
-rw-r--r--package/racehound/racehound.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/racehound/racehound.mk b/package/racehound/racehound.mk
index 7d8d1e3542..66f3ebec36 100644
--- a/package/racehound/racehound.mk
+++ b/package/racehound/racehound.mk
@@ -12,6 +12,12 @@ 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 += \
OpenPOWER on IntegriCloud