perf tests: Fix PYTHONPATH for python-use test tracepoints
authorJiri Olsa <jolsa@redhat.com>
Wed, 19 Dec 2012 08:52:21 +0000 (09:52 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:12 +0000 (16:40 -0300)
If there's not OUTPUT variable defined the PYTHONPATH ends up with
/python. We need to remove the extra '/'.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-h1hzfyfcdxjnuq9fin2cjwlr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile

index 3158f457b6aef0f20ffe5513ea8017f05694a7a5..1539eb4d97a01bbf24334d5f8c3b076e44d31c74 100644 (file)
@@ -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)"' \
                $<