Re: [PATCH 8/8] perf tools: Make perf depend on libbpf
From: Jiri Olsa
Date: Tue Sep 22 2015 - 03:03:15 EST
On Mon, Sep 21, 2015 at 06:23:21PM -0300, Arnaldo Carvalho de Melo wrote:
SNIP
> + NO_LIBBPF := 1
> else
> ifneq ($(filter s% -static%,$(LDFLAGS),),)
> msg := $(error No static glibc found, please install glibc-static);
> @@ -309,6 +312,13 @@ ifndef NO_LIBELF
> $(call detected,CONFIG_DWARF)
> endif # PERF_HAVE_DWARF_REGS
> endif # NO_DWARF
> +
> + ifndef NO_LIBBPF
> + ifeq ($(feature-bpf), 1)
> + CFLAGS += -DHAVE_LIBBPF_SUPPORT
> + $(call detected,CONFIG_LIBBPF)
what depends on CONFIG_LIBBPF ? I dont see any object being dependent on it
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/