tools/perf/build: Simplify the autodep inclusion rule
authorIngo Molnar <mingo@kernel.org>
Thu, 10 Oct 2013 07:10:59 +0000 (09:10 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Oct 2013 13:29:18 +0000 (10:29 -0300)
Namhyung Kim noticed that the autodep .d file inclusion rule was
unnecessarily complicated:

  > > +-include *.d */*.d
  >
  > Hmm.. this */*.d part is really needed?

Only include *.d files.

Reported-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/feature-checks/Makefile

index c70d23ecb64e69b4593b4b31872d09b505608808..452b67cc4d7b071e87ecee194d47f5a899d421b1 100644 (file)
@@ -136,7 +136,7 @@ test-on-exit:
 test-backtrace:
        $(BUILD)
 
--include *.d */*.d
+-include *.d
 
 ###############################