summaryrefslogtreecommitdiff
path: root/package/rtai
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/rtai
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/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))