mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
963ad186ba
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
903 B
Makefile
33 lines
903 B
Makefile
################################################################################
|
|
#
|
|
# rtai
|
|
#
|
|
################################################################################
|
|
|
|
RTAI_VERSION = 4.0.1
|
|
RTAI_SOURCE = rtai-$(RTAI_VERSION).tar.bz2
|
|
RTAI_SITE = https://www.rtai.org/userfiles/downloads/RTAI
|
|
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
|
|
|
|
RTAI_DEPENDENCIES = linux
|
|
|
|
RTAI_CONF_OPTS = \
|
|
--includedir=/usr/include/rtai \
|
|
--with-linux-dir=$(LINUX_DIR) \
|
|
--disable-leds \
|
|
--enable-usi \
|
|
--enable-align-priority \
|
|
--disable-rtailab \
|
|
--with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
|
|
|
|
RTAI_MAKE = $(MAKE1)
|
|
|
|
$(eval $(autotools-package))
|