diff options
Diffstat (limited to 'tools/perf/tests/make')
-rw-r--r-- | tools/perf/tests/make | 18 |
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 @@ | |||
1 | include ../scripts/Makefile.include | ||
2 | |||
1 | ifndef MK | 3 | ifndef MK |
2 | ifeq ($(MAKECMDGOALS),) | 4 | ifeq ($(MAKECMDGOALS),) |
3 | # no target specified, trigger the whole suite | 5 | # no target specified, trigger the whole suite |
@@ -12,7 +14,19 @@ endif | |||
12 | else | 14 | else |
13 | PERF := . | 15 | PERF := . |
14 | 16 | ||
15 | include config/Makefile.arch | 17 | # As per kernel Makefile, avoid funny character set dependencies |
18 | unexport LC_ALL | ||
19 | LC_COLLATE=C | ||
20 | LC_NUMERIC=C | ||
21 | export LC_COLLATE LC_NUMERIC | ||
22 | |||
23 | ifeq ($(srctree),) | ||
24 | srctree := $(patsubst %/,%,$(dir $(shell pwd))) | ||
25 | srctree := $(patsubst %/,%,$(dir $(srctree))) | ||
26 | #$(info Determined 'srctree' to be $(srctree)) | ||
27 | endif | ||
28 | |||
29 | include $(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 | |||
280 | out: $(run_O) | 294 | out: $(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 |
284 | endif # ifndef MK | 298 | endif # ifndef MK |