Initial Commit
- initial default booting image
This commit is contained in:
8
package/rtai/Config.in
Normal file
8
package/rtai/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_RTAI
|
||||
bool "rtai"
|
||||
depends on BR2_LINUX_KERNEL_EXT_RTAI
|
||||
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
|
||||
help
|
||||
RTAI - the RealTime Application Interface for Linux.
|
||||
|
||||
http://www.rtai.org
|
||||
2
package/rtai/rtai.hash
Normal file
2
package/rtai/rtai.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 57acd3ad46cc8f1e01dc21089a24587c59e7328cbac06abb62bb0152de0b9df7 rtai-5.3.tar.bz2
|
||||
32
package/rtai/rtai.mk
Normal file
32
package/rtai/rtai.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# rtai
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTAI_VERSION = 5.3
|
||||
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))
|
||||
Reference in New Issue
Block a user