summaryrefslogtreecommitdiffstats
path: root/package/linux-fusion/linux-fusion.mk
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/linux-fusion/linux-fusion.mk
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/linux-fusion/linux-fusion.mk')
-rw-r--r--package/linux-fusion/linux-fusion.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/linux-fusion/linux-fusion.mk b/package/linux-fusion/linux-fusion.mk
index 001388c67d..d52fe40a0a 100644
--- a/package/linux-fusion/linux-fusion.mk
+++ b/package/linux-fusion/linux-fusion.mk
@@ -11,6 +11,12 @@ LINUX_FUSION_DEPENDENCIES = linux
LINUX_FUSION_LICENSE = GPLv2+
LINUX_FUSION_LICENSE_FILES = debian/copyright
+# 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_LINUX_FUSION),y)
+LINUX_NEEDS_MODULES = y
+endif
+
LINUX_FOR_FUSION = $(LINUX_VERSION_PROBED)
LINUX_FUSION_ETC_DIR = $(TARGET_DIR)/etc/udev/rules.d
OpenPOWER on IntegriCloud