2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# rt-tests
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-07-14 21:01:08 +02:00
|
|
|
RT_TESTS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/rt-tests
|
|
|
|
RT_TESTS_SOURCE = rt-tests-$(RT_TESTS_VERSION).tar.xz
|
|
|
|
RT_TESTS_VERSION = 1.0
|
2017-03-30 15:43:32 +02:00
|
|
|
RT_TESTS_LICENSE = GPL-2.0+
|
2014-06-26 21:21:13 +02:00
|
|
|
RT_TESTS_LICENSE_FILES = COPYING
|
2011-12-22 13:13:38 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
RT_TESTS_DEPENDENCIES = python
|
|
|
|
endif
|
|
|
|
|
|
|
|
define RT_TESTS_BUILD_CMDS
|
2017-04-21 17:24:48 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2011-12-22 13:13:38 +01:00
|
|
|
prefix=/usr
|
|
|
|
endef
|
|
|
|
|
|
|
|
define RT_TESTS_INSTALL_TARGET_CMDS
|
2017-04-21 17:24:48 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
|
|
DESTDIR="$(TARGET_DIR)" \
|
|
|
|
prefix=/usr \
|
2016-07-14 21:01:08 +02:00
|
|
|
$(if $(BR2_PACKAGE_PYTHON),PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/,PYLIB="") \
|
2011-12-22 13:13:38 +01:00
|
|
|
install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|