2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# rtai
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2011-09-17 22:22:58 +02:00
|
|
|
RTAI_VERSION = 3.8.1
|
|
|
|
RTAI_SOURCE = rtai-$(RTAI_VERSION).tar.bz2
|
2014-07-31 10:46:58 +02:00
|
|
|
RTAI_SITE = https://www.rtai.org/userfiles/downloads/RTAI
|
2014-02-20 17:26:07 +01:00
|
|
|
RTAI_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
# The <pkg>_CONFIG_SCRIPTS cannot apply here to the specificities of rtai-config
|
|
|
|
define RTAI_POST_PATCH_FIXUP
|
|
|
|
(SED) 's%^staging=.*%staging=$(STAGING_DIR)%' $(STAGING_DIR)/usr/bin/rtai-config
|
|
|
|
endef
|
|
|
|
|
|
|
|
RTAI_POST_INSTALL_STAGING_HOOKS += RTAI_POST_PATCH_FIXUP
|
2011-09-17 22:22:58 +02:00
|
|
|
|
|
|
|
RTAI_DEPENDENCIES = linux
|
|
|
|
|
|
|
|
RTAI_CONF_OPT = \
|
2014-02-20 17:26:07 +01:00
|
|
|
--includedir=/usr/include/rtai \
|
2011-09-17 22:22:58 +02:00
|
|
|
--with-linux-dir=$(LINUX_DIR) \
|
|
|
|
--disable-leds \
|
|
|
|
--disable-rtailab \
|
2011-09-19 22:10:55 +02:00
|
|
|
--with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
|
2011-09-17 22:22:58 +02:00
|
|
|
|
|
|
|
RTAI_MAKE = $(MAKE1)
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|