Re: [RFC PATCH v6 22/32] perf tools: Make perf depend on libbpf

From: Wangnan (F)
Date: Tue Jun 09 2015 - 06:35:20 EST




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


--
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/