summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-12-10 19:53:17 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-12-29 23:52:34 +0100
commit963ad186ba0fdb37fd82b5c7f0c9c3e39990aa58 (patch)
tree6570addfb750ae97a3693feedcc0d5a4437e8a65
parent0593540919016e80dc1a5aea6b3b92d527ec9e77 (diff)
downloadbuildroot-963ad186ba0fdb37fd82b5c7f0c9c3e39990aa58.tar.gz
buildroot-963ad186ba0fdb37fd82b5c7f0c9c3e39990aa58.zip
package/rtai: require kernel modules from Kconfig
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>
-rw-r--r--package/rtai/Config.in1
-rw-r--r--package/rtai/rtai.mk6
2 files changed, 1 insertions, 6 deletions
diff --git a/package/rtai/Config.in b/package/rtai/Config.in
index ecbff38d47..14b1854837 100644
--- a/package/rtai/Config.in
+++ b/package/rtai/Config.in
@@ -1,6 +1,7 @@
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.
diff --git a/package/rtai/rtai.mk b/package/rtai/rtai.mk
index 6e803a6ade..dfd8e0c190 100644
--- a/package/rtai/rtai.mk
+++ b/package/rtai/rtai.mk
@@ -18,12 +18,6 @@ RTAI_POST_INSTALL_STAGING_HOOKS += RTAI_POST_PATCH_FIXUP
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) \
OpenPOWER on IntegriCloud