summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-09-17 22:22:58 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-18 23:00:07 +0200
commit8797a9cd1fe6723db34b0c125d0d9d04e3483e8d (patch)
treeb85dbf581c7d1a8adda8047971c6b2ee7c6c8873 /package
parenta473a616d27e46951a23d90249a31b08006098bf (diff)
Add support for the RTAI real-time extension
[Peter: fix rtai Config.in] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/rtai/Config.in7
-rw-r--r--package/rtai/rtai.mk15
3 files changed, 23 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index efb266a5e..451b271f8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -489,6 +489,7 @@ endmenu
menu "Real-Time"
source "package/xenomai/Config.in"
+source "package/rtai/Config.in"
endmenu
menu "Shell and utilities"
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))