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>
config BR2_PACKAGE_RTAI
bool "rtai"
depends on BR2_LINUX_KERNEL_EXT_RTAI
+ select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
help
RTAI - the RealTime Application Interface for Linux.
RTAI_DEPENDENCIES = 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_RTAI),y)
-LINUX_NEEDS_MODULES = y
-endif
-
RTAI_CONF_OPTS = \
--includedir=/usr/include/rtai \
--with-linux-dir=$(LINUX_DIR) \