On Sun, May 17, 2015 at 10:56:53AM +, Wang Nan wrote:
SNIP
> else
>TE_PATH=$(TRACE_EVENT_DIR)
>LIB_PATH=$(LIB_DIR)
> + BPF_PATH=$(BPF_DIR)
> endif
>
> LIBTRACEEVENT = $(TE_PATH)libtraceevent.a
> @@ -174,6 +177,9 @@ export LIBTRACEEVENT
> LIBAPI = $(LIB_PATH)libapi.a
> export L
By adding libbpf into perf's Makefile, this patch enable perf to
build libbpf during building if libelf is found and NO_LIBELF is not
set. The newly introduced code is similar to libapi and libtraceevent
building in Makefile.perf.
Signed-off-by: Wang Nan
---
tools/perf/Makefile.perf | 20 +++
2 matches
Mail list logo