python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / rt-tests / rt-tests.mk
blobaddc15e6fdacd0cb26a14299d6083022979f442d
1 ################################################################################
3 # rt-tests
5 ################################################################################
7 RT_TESTS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/rt-tests
8 RT_TESTS_SOURCE = rt-tests-$(RT_TESTS_VERSION).tar.xz
9 RT_TESTS_VERSION = 1.0
10 RT_TESTS_LICENSE = GPLv2+
11 RT_TESTS_LICENSE_FILES = COPYING
13 ifeq ($(BR2_PACKAGE_PYTHON),y)
14 RT_TESTS_DEPENDENCIES = python
15 endif
17 define RT_TESTS_BUILD_CMDS
18 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
19 CC="$(TARGET_CC)" \
20 CFLAGS="$(TARGET_CFLAGS)" \
21 prefix=/usr
22 endef
24 define RT_TESTS_INSTALL_TARGET_CMDS
25 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
26 DESTDIR="$(TARGET_DIR)" \
27 prefix=/usr \
28 $(if $(BR2_PACKAGE_PYTHON),PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/,PYLIB="") \
29 install
30 endef
32 $(eval $(generic-package))