perf tools: Make the x86 clean quiet
authorJiri Olsa <jolsa@kernel.org>
Mon, 25 Apr 2016 20:17:17 +0000 (22:17 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Apr 2016 20:56:15 +0000 (17:56 -0300)
Turn current clean output:

  $ make clean
  rm -f arch/x86/include/generated/asm/syscalls_64.c
    CLEAN    libbpf
    CLEAN    libapi

into:

  $ make clean
    CLEAN    x86
    CLEAN    libapi
    CLEAN    libbpf

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: TJ <linux@iam.tj>
Link: http://lkml.kernel.org/r/1461615438-27894-1-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/Makefile

index a337291..6c9211b 100644 (file)
@@ -24,6 +24,6 @@ $(header): $(sys)/syscall_64.tbl $(systbl)
        $(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@
 
 clean::
-       rm -f $(header)
+       $(call QUIET_CLEAN, x86) $(RM) $(header)
 
 archheaders: $(header)