浏览代码

package/linux-fusion: require kernel modules from Kconfig

And reorder 'depends' after 'bool'.

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>
Yann E. MORIN 9 年之前
父节点
当前提交
e7aa4b269e
共有 2 个文件被更改,包括 2 次插入7 次删除
  1. 2 1
      package/linux-fusion/Config.in
  2. 0 6
      package/linux-fusion/linux-fusion.mk

+ 2 - 1
package/linux-fusion/Config.in

@@ -2,8 +2,9 @@ comment "linux-fusion needs a Linux kernel to be built"
 	depends on !BR2_LINUX_KERNEL
 
 config BR2_PACKAGE_LINUX_FUSION
-	depends on BR2_LINUX_KERNEL
 	bool "linux-fusion communication layer for DirectFB multi"
+	depends on BR2_LINUX_KERNEL
+	select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
 	help
 	  DirectFB Communication Layer allowing multiple DirectFB
 	  applications to run concurrently

+ 0 - 6
package/linux-fusion/linux-fusion.mk

@@ -12,12 +12,6 @@ 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_FUSION_ETC_DIR = $(TARGET_DIR)/etc/udev/rules.d
 
 LINUX_FUSION_MAKE_OPTS = \