aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/make
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/make')
-rw-r--r--tools/perf/tests/make18
1 files changed, 16 insertions, 2 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index c1fbb8e884c0..df38decc48c3 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -1,3 +1,5 @@
1include ../scripts/Makefile.include
2
1ifndef MK 3ifndef MK
2ifeq ($(MAKECMDGOALS),) 4ifeq ($(MAKECMDGOALS),)
3# no target specified, trigger the whole suite 5# no target specified, trigger the whole suite
@@ -12,7 +14,19 @@ endif
12else 14else
13PERF := . 15PERF := .
14 16
15include config/Makefile.arch 17# As per kernel Makefile, avoid funny character set dependencies
18unexport LC_ALL
19LC_COLLATE=C
20LC_NUMERIC=C
21export LC_COLLATE LC_NUMERIC
22
23ifeq ($(srctree),)
24srctree := $(patsubst %/,%,$(dir $(shell pwd)))
25srctree := $(patsubst %/,%,$(dir $(srctree)))
26#$(info Determined 'srctree' to be $(srctree))
27endif
28
29include $(srctree)/tools/scripts/Makefile.arch
16 30
17# FIXME looks like x86 is the only arch running tests ;-) 31# FIXME looks like x86 is the only arch running tests ;-)
18# we need some IS_(32/64) flag to make this generic 32# we need some IS_(32/64) flag to make this generic
@@ -280,5 +294,5 @@ all: $(run) $(run_O) tarpkg make_kernelsrc make_kernelsrc_tools
280out: $(run_O) 294out: $(run_O)
281 @echo OK 295 @echo OK
282 296
283.PHONY: all $(run) $(run_O) tarpkg clean 297.PHONY: all $(run) $(run_O) tarpkg clean make_kernelsrc make_kernelsrc_tools
284endif # ifndef MK 298endif # ifndef MK