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
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>
17 Remove HASPYTHON since PYLIB can be overriden from the environment]
18 Signed-off-by: Romain Naour <romain.naour@gmail.com>
20 Makefile | 19 -------------------
21 1 file changed, 19 deletions(-)
23 diff --git a/Makefile b/Makefile
24 index a54d82b..0946f93 100644
27 @@ -38,25 +38,6 @@ else
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
46 -ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),)
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