]> git.baikalelectronics.ru Git - kernel.git/commit
perf python: Make sure the python binding output directory is in place
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 3 Jan 2019 19:03:46 +0000 (16:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Jan 2019 15:55:24 +0000 (12:55 -0300)
commitea4325a60b821ebee44459a8e46fe61bf2b4c98e
tree77cd92397cbd34a363f64d86fb27701d9cf3fece
parent9e7a9eb89489234c25e9788864b0088732d8a232
perf python: Make sure the python binding output directory is in place

Instead of doing an unconditional mkdir, use a dummy Makefile variable
to check if the directory is there and if not, create it.

This is better than what we had and will help with other python bindings
that are in development, like one involved with python backtraces.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-iis6us2nocw3y4uuoon9osd7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf