mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-12 03:26:26 +00:00
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 <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-h1hzfyfcdxjnuq9fin2cjwlr@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
876650e6c3
commit
09ecbb07a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
$(OUTPUT)tests/python-use.o: tests/python-use.c $(OUTPUT)PERF-CFLAGS
|
||||||
$(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) \
|
$(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) \
|
||||||
-DPYTHONPATH='"$(OUTPUT)/python"' \
|
-DPYTHONPATH='"$(OUTPUT)python"' \
|
||||||
-DPYTHON='"$(PYTHON_WORD)"' \
|
-DPYTHON='"$(PYTHON_WORD)"' \
|
||||||
$<
|
$<
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue