summaryrefslogtreecommitdiffstats
path: root/package/rt-tests/01-fix-build-system.patch
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-11-10 12:59:08 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-11 15:41:12 +0100
commit59ad1942772fac90deecaed0b77fce739a4d0d73 (patch)
tree2abeccd1fdbe13fa54e957edd459650e15173e05 /package/rt-tests/01-fix-build-system.patch
parent764ce21cd264679f7ec1b4b8f38fdbfbaa1aee16 (diff)
downloadbuildroot-59ad1942772fac90deecaed0b77fce739a4d0d73.tar.gz
buildroot-59ad1942772fac90deecaed0b77fce739a4d0d73.zip
rt-tests: bump version to 0.89
With this change we're moving to the latest version of rt-tests. Existing patches were updated so they apply on sources without errors and warnings. In "01-fix-build-system.patch" CFLAGS substitution was removed because now external CFLAGS are accepted: http://git.kernel.org/cgit/linux/kernel/git/clrkwllms/rt-tests.git/commit/?id=dfcef6e557b7980a33aa30b45bde196ed1780eb1 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/rt-tests/01-fix-build-system.patch')
-rw-r--r--package/rt-tests/01-fix-build-system.patch35
1 files changed, 22 insertions, 13 deletions
diff --git a/package/rt-tests/01-fix-build-system.patch b/package/rt-tests/01-fix-build-system.patch
index 9d6aa0523c..36af74776f 100644
--- a/package/rt-tests/01-fix-build-system.patch
+++ b/package/rt-tests/01-fix-build-system.patch
@@ -1,4 +1,7 @@
-Fix various minor issues with rt-tests build system
+From f9a55a87af57780ea8940561d22cd6a90f461416 Mon Sep 17 00:00:00 2001
+From: Alexey Brodkin <abrodkin@synopsys.com>
+Date: Mon, 10 Nov 2014 11:44:55 +0300
+Subject: [PATCH] Fix various minor issues with rt-tests build system
The issues fixed are :
@@ -6,9 +9,6 @@ The issues fixed are :
architecture. This is broken when doing cross-compilation. One can
still set NUMA=1 if NUMA support is desired.
- * Expand the CFLAGS provided through the environment instead of
- overriding it.
-
* Provide a HASPYTHON variable to tell whether the target system has
Python or not. Otherwise, the build system simply tests whether
Python is available on the host. The PYLIB variable is also changed
@@ -16,23 +16,29 @@ The issues fixed are :
provide the correct Python module location for the target.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
+Cc: Peter Korsgaard <peter@korsgaard.com>
+---
+ Makefile | 10 +++-------
+ 1 file changed, 3 insertions(+), 7 deletions(-)
-Index: rt-tests/Makefile
-===================================================================
---- rt-tests.orig/Makefile
-+++ rt-tests/Makefile
-@@ -14,15 +14,11 @@
+diff --git a/Makefile b/Makefile
+index 318a5c6..645d138 100644
+--- a/Makefile
++++ b/Makefile
+@@ -14,17 +14,13 @@ bindir ?= $(prefix)/bin
mandir ?= $(prefix)/share/man
srcdir ?= $(prefix)/src
--machinetype = $(shell uname -m | \
-- sed -e 's/i.86/i386/' -e 's/mips.*/mips/' -e 's/ppc.*/powerpc/')
+-machinetype = $(shell $(CC) -dumpmachine | \
+- sed -e 's/-.*//' -e 's/i.86/i386/' -e 's/mips.*/mips/' -e 's/ppc.*/powerpc/')
-ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),)
-NUMA := 1
-endif
-
--CFLAGS = -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include
-+override CFLAGS += -D_GNU_SOURCE -Wall -Wno-nonnull -Isrc/include
+ CFLAGS ?= -Wall -Wno-nonnull
+ CPPFLAGS += -D_GNU_SOURCE -Isrc/include
+ LDFLAGS ?=
-PYLIB := $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()')
+ifeq ($(HASPYTHON),1)
@@ -41,3 +47,6 @@ Index: rt-tests/Makefile
ifndef DEBUG
CFLAGS += -O2
+--
+1.9.3
+
OpenPOWER on IntegriCloud