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>
This commit is contained in:
Thomas Petazzoni
2011-09-17 22:22:58 +02:00
committed by Peter Korsgaard
parent a473a616d2
commit 8797a9cd1f
5 changed files with 83 additions and 0 deletions

7
package/rtai/Config.in Normal file
View File

@@ -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

15
package/rtai/rtai.mk Normal file
View File

@@ -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))