kumquat-buildroot/package/rtai/rtai.mk
Jerzy Grzegorek c7f4b96471 package: remove the trailing slash sign from <PKG>_SITE variable
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk:

$(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE))

so it is redundant.
This patch removes it from $(PKG)_SITE variable for BR consistency.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-31 23:17:46 +02:00

31 lines
859 B
Makefile

################################################################################
#
# rtai
#
################################################################################
RTAI_VERSION = 3.8.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_OPT = \
--includedir=/usr/include/rtai \
--with-linux-dir=$(LINUX_DIR) \
--disable-leds \
--disable-rtailab \
--with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
RTAI_MAKE = $(MAKE1)
$(eval $(autotools-package))