Re: [PATCH 19/50] tools/perf/build: Split out feature check:'libaudit'

From: Jiri Olsa
Date: Mon Oct 07 2013 - 17:01:07 EST


On Mon, Oct 07, 2013 at 01:56:12PM +0200, Ingo Molnar wrote:
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: David Ahern <dsahern@xxxxxxxxx>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Link: http://lkml.kernel.org/n/tip-orhejqtjao3vf4wxwBUdzhaz@xxxxxxxxxxxxxx
> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
> ---
> tools/perf/config/Makefile | 6 +++---
> tools/perf/config/feature-checks/Makefile | 4 ++++
> tools/perf/config/feature-checks/test-libaudit.c | 7 +++++++
> 3 files changed, 14 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
> index 890f264..e82e0b8 100644
> --- a/tools/perf/config/Makefile
> +++ b/tools/perf/config/Makefile
> @@ -114,6 +114,7 @@ FEATURE_TESTS = \
> libelf-mmap \
> libelf-getphdrnum \
> libunwind \
> + libaudit \
> libnuma
>
> $(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test)))
> @@ -240,7 +241,7 @@ ifneq ($(ARCH),x86)
> endif
>
> ifndef NO_LIBUNWIND
> - ifeq ($(feature-libunwind), 1)
> + ifneq ($(feature-libunwind), 1)
> msg := $(warning No libunwind found, disabling post unwind support. Please install libunwind-dev[el] >= 0.99);
> NO_LIBUNWIND := 1
> endif

nit, this change belongs to previous patch

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/