summaryrefslogtreecommitdiff
path: root/package/rtai
diff options
context:
space:
mode:
Diffstat (limited to 'package/rtai')
-rw-r--r--package/rtai/Config.in7
-rw-r--r--package/rtai/rtai.mk15
2 files changed, 22 insertions, 0 deletions
diff --git a/package/rtai/Config.in b/package/rtai/Config.in
new file mode 100644
index 000000000..ecbff38d4
--- /dev/null
+++ b/package/rtai/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_RTAI
+ bool "rtai"
+ depends on BR2_LINUX_KERNEL_EXT_RTAI
+ help
+ RTAI - the RealTime Application Interface for Linux.
+
+ http://www.rtai.org
diff --git a/package/rtai/rtai.mk b/package/rtai/rtai.mk
new file mode 100644
index 000000000..abba614c4
--- /dev/null
+++ b/package/rtai/rtai.mk
@@ -0,0 +1,15 @@
+RTAI_VERSION = 3.8.1
+RTAI_SOURCE = rtai-$(RTAI_VERSION).tar.bz2
+RTAI_SITE = http://www.rtai.org/RTAI/
+
+RTAI_DEPENDENCIES = linux
+
+RTAI_CONF_OPT = \
+ --with-linux-dir=$(LINUX_DIR) \
+ --disable-leds \
+ --disable-rtailab \
+ --with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/kernel/rtai
+
+RTAI_MAKE = $(MAKE1)
+
+$(eval $(call AUTOTARGETS,package,rtai))