]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Make sure fixdep is built before libbpf
authorJiri Olsa <jolsa@redhat.com>
Wed, 28 Oct 2015 20:44:50 +0000 (21:44 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Oct 2015 20:16:21 +0000 (17:16 -0300)
commit7d90e4af578227b6b5c72d530475051493b22b34
tree1b257370046dcb49ac1a896b9519988240d7b193
parent23516d8e249c56b01a8c6034be23512d70c27cbd
perf tools: Make sure fixdep is built before libbpf

While doing 'make -C tools/perf build-test':

   LD       fixdep-in.o
   LINK     fixdep
 /bin/sh: /home/acme/git/linux/tools/build/fixdep: Permission denied
 make[6]: *** [bpf.o] Error 1
 make[5]: *** [libbpf-in.o] Error 2
 make[4]: *** [/home/acme/git/linux/tools/lib/bpf/libbpf.a] Error 2
 make[4]: *** Waiting for unfinished jobs....

The fixdep tool needs to be built as the first binary.  Libraries are
built in paralel, so each of them needs to depend on fixdep target.

Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20151028204450.GA25553@krava.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf