perf python: Add missing python/perf.so dependency for libperf
authorJiri Olsa <jolsa@kernel.org>
Sun, 1 Sep 2019 12:48:19 +0000 (14:48 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Sep 2019 13:33:32 +0000 (14:33 +0100)
commit5079bde790304959bf744c548efdd5be660ea8e2
tree04d1b0a1c9430b7d41349476d0d8b71e6b775a56
parente336b4027775cb458dc713745e526fa1a1996b2a
perf python: Add missing python/perf.so dependency for libperf

The python/perf.so compilation needs libperf ready, otherwise it fails:

  $ make python/perf.so JOBS=1
    BUILD:   Doing 'make -j1' parallel build
    GEN      python/perf.so
  gcc: error: /home/jolsa/kernel/linux-perf/tools/perf/lib/libperf.a: No such file or directory

Fixing this with by adding libperf dependency.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20190901124822.10132-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf