From: Jiri Olsa Date: Wed, 19 Dec 2012 08:52:21 +0000 (+0100) Subject: perf tests: Fix PYTHONPATH for python-use test tracepoints X-Git-Tag: MMI-PSA29.97-13-9~15047^2~13^2~53 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git perf tests: Fix PYTHONPATH for python-use test tracepoints If there's not OUTPUT variable defined the PYTHONPATH ends up with /python. We need to remove the extra '/'. Signed-off-by: Jiri Olsa Link: http://lkml.kernel.org/n/tip-h1hzfyfcdxjnuq9fin2cjwlr@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 3158f457b6ae..1539eb4d97a0 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -958,7 +958,7 @@ $(OUTPUT)tests/attr.o: tests/attr.c $(OUTPUT)PERF-CFLAGS $(OUTPUT)tests/python-use.o: tests/python-use.c $(OUTPUT)PERF-CFLAGS $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) \ - -DPYTHONPATH='"$(OUTPUT)/python"' \ + -DPYTHONPATH='"$(OUTPUT)python"' \ -DPYTHON='"$(PYTHON_WORD)"' \ $<