diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-12-23 12:58:34 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-01-06 18:11:14 -0500 |
commit | 58683600dfe377c883eb8217b5a9bfcfe231b3ff (patch) | |
tree | 61eadf6b22444e9b638829a16ddebe7715550a55 /tools/lib | |
parent | 936d120d5f6406377e622da3167cafc811d053ea (diff) |
perf build: Use FEATURE-DUMP in bpf subproject
Using FEATURE-DUMP in bpf subproject for features detection in case bpf
is built via perf. Keeping the current features detection otherwise.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Wang Nan <wangnan0@huawei.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama <pi3orama@163.com>
Link: http://lkml.kernel.org/r/1450893514-9158-6-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/bpf/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile index 636e3ddb93a1..919b71780710 100644 --- a/tools/lib/bpf/Makefile +++ b/tools/lib/bpf/Makefile | |||
@@ -80,7 +80,11 @@ endif | |||
80 | endif | 80 | endif |
81 | 81 | ||
82 | ifeq ($(check_feat),1) | 82 | ifeq ($(check_feat),1) |
83 | ifeq ($(FEATURES_DUMP),) | ||
83 | include $(srctree)/tools/build/Makefile.feature | 84 | include $(srctree)/tools/build/Makefile.feature |
85 | else | ||
86 | include $(FEATURES_DUMP) | ||
87 | endif | ||
84 | endif | 88 | endif |
85 | 89 | ||
86 | export prefix libdir src obj | 90 | export prefix libdir src obj |