]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Move libtraceevent dynamic list to separated LDFLAGS variable
authorWang Nan <wangnan0@huawei.com>
Wed, 17 Jun 2015 14:46:29 +0000 (14:46 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Jun 2015 19:29:25 +0000 (16:29 -0300)
commitcd2198a947a04668f7757ab1613056528ac5ea3e
tree973f1f95e968fa516a0df2ee1f1f8f17100bfe5a
parent2e9cf89c4cba305fe8fc9ba529b08340475e143e
perf tools: Move libtraceevent dynamic list to separated LDFLAGS variable

Commit e63f080787cb04f3366ff73d7a37b7ca66275d02 ("tools lib traceevent:
Export dynamic symbols used by traceevent plugins") adds libtraceevent
dynamic list directly into LDFLAGS, which makes all targets depend on
that list through LDFLAGS.

This is not good since some of targets like libgtk.so doesn't use plugin
at all, but require the existance of that list because of linker
options.

This patch isolates the -Xlink option into LIBTRACEEVENT_DYNAMIC_LIST_LDFLAGS,
makes only perf and perf.so use it.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: He Kuang <hekuang@huawei.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1434552389-89144-1-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf