From cfeae5ec0d9488b2a6e51feb909e4c981008bf16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 17 Aug 2015 17:23:52 +0200 Subject: Change location for rootfs of tests Now every test should have its own folder with rootfs and parse script. --- .../packages/rt-tests-master/rt-tests-master.mk | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/cyclictest/root/packages/rt-tests-master/rt-tests-master.mk (limited to 'tests/cyclictest/root/packages/rt-tests-master/rt-tests-master.mk') diff --git a/tests/cyclictest/root/packages/rt-tests-master/rt-tests-master.mk b/tests/cyclictest/root/packages/rt-tests-master/rt-tests-master.mk new file mode 100644 index 0000000..82fe53e --- /dev/null +++ b/tests/cyclictest/root/packages/rt-tests-master/rt-tests-master.mk @@ -0,0 +1,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)) -- cgit v1.2.3