Skip to contentSkip to conversation

tools build: Fixup feature detection display function name

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Sep 23, 2015

lore
Share & tools
lore
#0 lore raw
Commit-ID:  6076e2a47cccfb3d48a8d165853c0b799c563df7
Gitweb:     http://git.kernel.org/tip/6076e2a47cccfb3d48a8d165853c0b799c563df7
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 21 Sep 2015 11:49:51 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 22 Sep 2015 10:44:19 -0300

tools build: Fixup feature detection display function name

Cut'n'paste mistake, it should eval the name of the function defined right next to it, in the next line, fix it.

Before:

  $ make -C tools/lib/bpf/
  make: Entering directory '/home/git/linux/tools/lib/bpf'

Auto-detecting system features:

  ...                        libelf: [ on  ]
  ...             libelf-getphdrnum: [ on  ]
  ...                   libelf-mmap: [ on  ]
  ...                           bpf: [ on  ]

<SNIP>

After:

  $ make -C tools/lib/bpf/
  make: Entering directory '/home/git/linux/tools/lib/bpf'

Auto-detecting system features:
... libelf: [ on ]
... libelf-getphdrnum: [ OFF ]
... libelf-mmap: [ OFF ]
... bpf: [ on ]
<SNIP>

Cc Adrian Hunter <[email protected]>
Cc Alexei Starovoitov <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Wang Nan <[email protected]>
Fixes 58d4f00ff13f ("perf build: Fix feature_check name clash")
---
 tools/build/Makefile.feature | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/build/Makefile.feature +1 -1
index c8fe6d1..690d561 100644
@@ -140,7 +140,7 @@ ifneq ("$(FEATURE_DUMP)","$(FEATURE_DUMP_FILE)")
   feature_display := 1
 endif
 
-feature_display_check = $(eval $(feature_check_code))
+feature_display_check = $(eval $(feature_check_display_code))
 define feature_display_check_code
   ifneq ($(feature-$(1)), 1)
     feature_display := 1