python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / rt-tests / 0001-Fix-various-minor-issues-with-rt-tests-build-system.patch
blob157514a8e3e96b78454dc64194259bb5560989a8
1 From eb47c07e9d20e0b1a6cc4b0df26f24f22f024f1c Mon Sep 17 00:00:00 2001
2 From: Alexey Brodkin <abrodkin@synopsys.com>
3 Date: Mon, 10 Nov 2014 11:44:55 +0300
4 Subject: [PATCH] Fix various minor issues with rt-tests build system
6 The issues fixed are :
8 * Remove the automatic NUMA detection from the host
9 architecture. This is broken when doing cross-compilation. One can
10 still set NUMA=1 if NUMA support is desired.
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
14 Cc: Peter Korsgaard <peter@korsgaard.com>
15 [Romain:
16 rebase on v1.0
17 Remove HASPYTHON since PYLIB can be overriden from the environment]
18 Signed-off-by: Romain Naour <romain.naour@gmail.com>
19 ---
20 Makefile | 19 -------------------
21 1 file changed, 19 deletions(-)
23 diff --git a/Makefile b/Makefile
24 index a54d82b..0946f93 100644
25 --- a/Makefile
26 +++ b/Makefile
27 @@ -38,25 +38,6 @@ else
28 CFLAGS += -O0 -g
29 endif
31 -# We make some gueses on how to compile rt-tests based on the machine type
32 -# and the ostype. These can often be overridden.
33 -dumpmachine := $(shell $(CC) -dumpmachine)
35 -# The ostype is typically something like linux or android
36 -ostype := $(lastword $(subst -, ,$(dumpmachine)))
38 -machinetype := $(shell echo $(dumpmachine)| \
39 - sed -e 's/-.*//' -e 's/i.86/i386/' -e 's/mips.*/mips/' -e 's/ppc.*/powerpc/')
41 -# The default is to assume you have libnuma installed, which is fine to do
42 -# even on non-numa machines. If you don't want to install the numa libs, for
43 -# example, they might not be available in an embedded environment, then
44 -# compile with
45 -# make NUMA=0
46 -ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),)
47 -NUMA := 1
48 -endif
50 # The default is to assume that you have numa_parse_cpustring_all
51 # If you have an older version of libnuma that only has numa_parse_cpustring
52 # then compile with
53 --
54 2.5.5