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

View File

@ -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

View File

@ -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 = \