The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / rtai / rtai.mk
1 ################################################################################
2 #
3 # rtai
4 #
5 ################################################################################
6
7 RTAI_VERSION = 4.0.1
8 RTAI_SOURCE = rtai-$(RTAI_VERSION).tar.bz2
9 RTAI_SITE = https://www.rtai.org/userfiles/downloads/RTAI
10 RTAI_INSTALL_STAGING = YES
11
12 # The <pkg>_CONFIG_SCRIPTS cannot apply here to the specificities of rtai-config
13 define RTAI_POST_PATCH_FIXUP
14         $(SED) 's%^staging=.*%staging=$(STAGING_DIR)%' $(STAGING_DIR)/usr/bin/rtai-config
15 endef
16
17 RTAI_POST_INSTALL_STAGING_HOOKS += RTAI_POST_PATCH_FIXUP
18
19 RTAI_DEPENDENCIES = linux
20
21 RTAI_CONF_OPTS = \
22         --includedir=/usr/include/rtai \
23         --with-linux-dir=$(LINUX_DIR)   \
24         --disable-leds                  \
25         --enable-usi                    \
26         --enable-align-priority         \
27         --disable-rtailab               \
28         --with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
29
30 RTAI_MAKE = $(MAKE1)
31
32 $(eval $(autotools-package))