rt-tests: bump to v0.94
PATCH 1/1 rt-tests: bump to v0.94
All of the rt-tests patches that OE has been carrying have been upstreamed or superceded by changes in the v0.94 release.
Adjust SRC_URI to point to canonical upstream git repo, instead of a development tree.
There was a notable change upstream that required slight reworking of the recipe. rt-tests now joins other kbuild-inspired projects by making use of a CROSS_COMPILE flag to indicate the compiler prefix.
Previously TOOLCHAIN_OPTIONS were conveyed via $CC directly, however, this does not work with CROSS_COMPILE. Workaround this by both specifying CROSS_COMPILE, and feeding the rt-tests build system the proper $(HOST_CC_ARCH)$(TOOLCHAIN_OPTIONS) via $CFLAGS.
---
...1-rt-tests-Allow-for-user-specified-PYLIB.patch | 35 -----------
...02-rt-tests-Break-out-install_hwlatdetect.patch | 68 ----------------------
.../rt-tests/files/Makefile-fix-gzip-command.patch | 30 ----------
.../rt-tests/files/fix-re-install-failure.patch | 48 ---------------
.../rt-tests/files/hackbench-fix-error-check.patch | 41 -------------
.../{hwlatdetect_0.92.bb => hwlatdetect_0.94.bb} | 0
meta/recipes-rt/rt-tests/rt-tests.inc | 14 ++---
.../{rt-tests_0.92.bb => rt-tests_0.94.bb} | 4 +-
8 files changed, 7 insertions(+), 233 deletions(-)
delete mode 100644 meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch
delete mode 100644 meta/recipes-rt/rt-tests/files/0002-rt-tests-Break-out-install_hwlatdetect.patch
delete mode 100644 meta/recipes-rt/rt-tests/files/Makefile-fix-gzip-command.patch
delete mode 100644 meta/recipes-rt/rt-tests/files/fix-re-install-failure.patch
delete mode 100644 meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch
rename meta/recipes-rt/rt-tests/{hwlatdetect_0.92.bb => hwlatdetect_0.94.bb} (100%)
rename meta/recipes-rt/rt-tests/{rt-tests_0.92.bb => rt-tests_0.94.bb} (89%)meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 66765522b634952346f1a3ab7d00c7222a1f9361 Mon Sep 17 00:00:00 2001 -Message-Id: <66765522b634952346f1a3ab7d00c7222a1f9361.1347419597.git.dvhart@linux.intel.com> -From: Darren Hart <[email protected]> -Date: Tue, 11 Sep 2012 15:19:30 -0700 -Subject: [PATCH 1/2] rt-tests: Allow for user-specified PYLIB - -Upstream-Status: Submitted - -Allow users (build systems) to specify PYLIB. This allows for a -cross-build-system to specify the target PYLIB rather than the host -PYLIB. - -Signed-off-by: Darren Hart <[email protected]> -CC: Clark Williams <[email protected]> -CC: John Kacur <[email protected]> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 3a82407..61e2f9f 100644 ---- a/Makefile -+++ b/Makefile -@@ -23,7 +23,7 @@ endif - CFLAGS ?= -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include - LDFLAGS ?= - --PYLIB := $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') -+PYLIB ?= $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') - - ifndef DEBUG - CFLAGS += -O2 --- -1.7.11.4 -
meta/recipes-rt/rt-tests/files/0002-rt-tests-Break-out-install_hwlatdetect.patch deleted +0 -68
68 lines not on this page · raw message
meta/recipes-rt/rt-tests/files/Makefile-fix-gzip-command.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From 07b5ed42d7041ccc084889eaa96817aa097bf461 Mon Sep 17 00:00:00 2001 -From: Robert Yang <[email protected]> -Date: Tue, 3 Feb 2015 03:10:25 +0000 -Subject: [PATCH] Makefile: fix gzip command - -The "-c" doesn't work in command "gzip file -c", need use "gzip -c file" - -Upstream-Status: Pending - -Signed-off-by: Robert Yang <[email protected]> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 219a591..c7d147a 100644 ---- a/Makefile -+++ b/Makefile -@@ -144,7 +144,7 @@ install_hwlatdetect: hwlatdetect - install -D -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \ - rm -f "$(DESTDIR)$(bindir)/hwlatdetect" ; \ - ln -s $(PYLIB)/hwlatdetect.py "$(DESTDIR)$(bindir)/hwlatdetect" ; \ -- gzip src/hwlatdetect/hwlatdetect.8 -c >"$(DESTDIR)$(mandir)/man8/hwlatdetect.8.gz" ; \ -+ gzip -c src/hwlatdetect/hwlatdetect.8 >"$(DESTDIR)$(mandir)/man8/hwlatdetect.8.gz" ; \ - fi - - .PHONY: release --- -2.0.1 -
meta/recipes-rt/rt-tests/files/fix-re-install-failure.patch deleted +0 -48
48 lines not on this page · raw message
meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch deleted +0 -41
41 lines not on this page · raw message
meta/recipes-rt/rt-tests/hwlatdetect_0.94.bb renamed from meta/recipes-rt/rt-tests/hwlatdetect_0.92.bb +0 -0
meta/recipes-rt/rt-tests/rt-tests.inc +4 -10
@@ -1,14 +1,8 @@ -# Version v0.92 -PV = "0.92" -SRCREV = "5f9f1e3fe327440a9d405f4af8feb16ff7a909eb" +# Version v0.94 +PV = "0.94" +SRCREV = "a8fd81efa718ec449d90cba8f41123ed521bd12b" -SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \ - file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \ - file://0002-rt-tests-Break-out-install_hwlatdetect.patch \ - file://hackbench-fix-error-check.patch \ - file://Makefile-fix-gzip-command.patch \ - file://fix-re-install-failure.patch \ -" +SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git" S = "${WORKDIR}/git"
meta/recipes-rt/rt-tests/rt-tests_0.94.bb renamed from meta/recipes-rt/rt-tests/rt-tests_0.92.bb +3 -1
@@ -14,7 +14,9 @@ SRC_URI += "file://run-ptest \ file://rt_bmark.py \ " # Do not install hwlatdetect -EXTRA_OEMAKE += "PYLIB=''" +EXTRA_OEMAKE += "PYLIB='' CROSS_COMPILE=${TARGET_PREFIX}" + +CFLAGS_prepend = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" do_install() { oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \
Signature · 1 line
2.5.1
Quoted 3 lines · Josh Cartwright
All of the rt-tests patches that OE has been carrying have been upstreamed or superceded by changes in the v0.94 release.
Sorry but you just missed the M3 deadline so this will have to wait until 2.0 is released and master re-opens, unless you have an urgent need for this to be merged in 2.0.
Ross
Quoted 8 lines · Ross
Quoted 3 lines · Josh Cartwright
All of the rt-tests patches that OE has been carrying have been upstreamed or superceded by changes in the v0.94 release.
Sorry but you just missed the M3 deadline so this will have to wait until 2.0 is released and master re-opens, unless you have an urgent need for this to be merged in 2.0.
Thanks for dropping a note. There is no urgent reason for this to be pulled in.
I'll wait for a 2.0 release and resend.
Thanks,
Josh