Re: [RFC PATCH v3 28/37] perf tools: Make perf depend on libbpf

From: Jiri Olsa
Date: Fri May 22 2015 - 13:24:32 EST


On Sun, May 17, 2015 at 10:56:53AM +0000, 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 LIBAPI
>
> +LIBBPF = $(BPF_PATH)/libbpf.a
> +export LIBBPF

hum, why does LIBBPF need to be exported?

if it's to match the LIBAPI, it's exported because
of its usage in the util/setup.py, which is not the
case for LIBBPF

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/