diff options
author | David Carrillo-Cisneros <davidcc@google.com> | 2017-07-18 18:18:37 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-07-25 11:23:51 -0300 |
commit | cb281fea4b0a326d2a2104f8ffae2b6895c561fd (patch) | |
tree | 9c2b14de59a7fcc7289487a85788d999eda3be8b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cd8dd032f61abeb08d2c03bab4968a9de231a1be (diff) | |
download | linux-cb281fea4b0a326d2a2104f8ffae2b6895c561fd.tar.gz linux-cb281fea4b0a326d2a2104f8ffae2b6895c561fd.tar.bz2 linux-cb281fea4b0a326d2a2104f8ffae2b6895c561fd.zip |
perf tools: Add EXCLUDE_EXTLIBS and EXTRA_PERFLIBS to makefile
The goal is to allow users to override linking of libraries that
were automatically added to PERFLIBS.
EXCLUDE_EXTLIBS contains linker flags to be removed from LIBS
while EXTRA_PERFLIBS contains linker flags to be added.
My use case is to force certain library to be build statically,
e.g. for libelf:
EXCLUDE_EXTLIBS=-lelf EXTRA_PERFLIBS=path/libelf.a
Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Cc: Kees Kook <keescook@chromium.org>
Cc: Paul Turner <pjt@google.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20170719011839.99399-3-davidcc@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions