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
|
2020-12-29 11:07:07 +01:00
|
|
|
RT_TESTS_VERSION = 1.10
|
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
|
2020-12-27 22:28:33 +01:00
|
|
|
|
2020-06-04 15:54:08 +02:00
|
|
|
RT_TESTS_DEPENDENCIES = numactl
|
2020-12-04 16:46:01 +01:00
|
|
|
RT_TESTS_CPE_ID_VENDOR = kernel
|
2011-12-22 13:13:38 +01:00
|
|
|
|
|
|
|
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)" \
|
2020-12-29 11:07:07 +01:00
|
|
|
prefix=/usr
|
2011-12-22 13:13:38 +01:00
|
|
|
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 \
|
2020-02-03 11:09:39 +01:00
|
|
|
PYLIB="$(if $(BR2_PACKAGE_PYTHON3),/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/)" \
|
2011-12-22 13:13:38 +01:00
|
|
|
install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|