Messages in this thread | | | Date | Tue, 9 Jun 2015 18:29:35 +0800 | From | "Wangnan (F)" <> | Subject | Re: [RFC PATCH v6 22/32] perf tools: Make perf depend on libbpf |
| |
On 2015/6/9 13:50, Wang Nan wrote:
[SNIP] > +LIBBPF = $(BPF_PATH)libbpf.a > + > # python extension build directories > PYTHON_EXTBUILD := $(OUTPUT)python_ext_build/ > PYTHON_EXTBUILD_LIB := $(PYTHON_EXTBUILD)lib/ > @@ -227,6 +232,9 @@ export PERL_PATH > LIB_FILE=$(OUTPUT)libperf.a > > PERFLIBS = $(LIB_FILE) $(LIBAPI) $(LIBTRACEEVENT) > +ifndef NO_LIBELF > + PERFLIBS += $(LIBBPF) > +endif >
Here should be
ifndef NO_LIBBPF PERFLIBS += $(LIBBPF) endif
| |