blob: 82fe53e0b1dc4de76ce17ae1a74926dfa0980551 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
################################################################################
#
# rt-tests
#
################################################################################
RT_TESTS_MASTER_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git
RT_TESTS_MASTER_VERSION = v0.92
RT_TESTS_MASTER_LICENSE = GPLv2+
RT_TESTS_MASTER_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_PYTHON),y)
RT_TESTS_MASTER_DEPENDENCIES = python
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
RT_TESTS_MASTER_HAVE_NPTL=yes
else
RT_TESTS_MASTER_HAVE_NPTL=no
endif
define RT_TESTS_MASTER_BUILD_CMDS
$(MAKE) -C $(@D) \
CC="$(TARGET_CC)" \
HAVE_NPTL=$(RT_TESTS_MASTER_HAVE_NPTL) \
CFLAGS="$(TARGET_CFLAGS)" \
prefix=/usr NUMA=0
endef
define RT_TESTS_MASTER_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) \
HAVE_NPTL=$(RT_TESTS_MASTER_HAVE_NPTL) \
DESTDIR="$(TARGET_DIR)" \
prefix=/usr \
$(if $(BR2_PACKAGE_PYTHON),HASPYTHON=1 PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/) \
install
endef
$(eval $(generic-package))
|