rtai.mk 888 B

1234567891011121314151617181920212223242526272829303132
  1. ################################################################################
  2. #
  3. # rtai
  4. #
  5. ################################################################################
  6. RTAI_VERSION = 5.3
  7. RTAI_SOURCE = rtai-$(RTAI_VERSION).tar.bz2
  8. RTAI_SITE = https://www.rtai.org/userfiles/downloads/RTAI
  9. RTAI_INSTALL_STAGING = YES
  10. # The <pkg>_CONFIG_SCRIPTS cannot apply here to the specificities of rtai-config
  11. define RTAI_POST_PATCH_FIXUP
  12. $(SED) 's%^staging=.*%staging=$(STAGING_DIR)%' $(STAGING_DIR)/usr/bin/rtai-config
  13. endef
  14. RTAI_POST_INSTALL_STAGING_HOOKS += RTAI_POST_PATCH_FIXUP
  15. RTAI_DEPENDENCIES = linux
  16. RTAI_CONF_OPTS = \
  17. --includedir=/usr/include/rtai \
  18. --with-linux-dir=$(LINUX_DIR) \
  19. --disable-leds \
  20. --enable-usi \
  21. --enable-align-priority \
  22. --disable-rtailab \
  23. --with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
  24. RTAI_MAKE = $(MAKE1)
  25. $(eval $(autotools-package))