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