diff options
author | Wang Nan <wangnan0@huawei.com> | 2016-01-25 04:55:50 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-01-26 10:12:48 -0500 |
commit | 9fd4186ac19a4c8182dffc9b15dd288b50f09f76 (patch) | |
tree | efb0a3896384148822b82d55c1bf5c62470d1418 /tools/build | |
parent | 666810e86a3b7531cce892fbeda3b2f2322e1d72 (diff) |
tools build: Allow subprojects select all feature checkers
Put feature checkers not in original FEATURE_TESTS to a new list and
allow subproject select all feature checkers by setting FEATURE_TESTS to
'all'.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1453715801-7732-4-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/Makefile.feature | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature index 02db3cdff20f..674c47d5f9d1 100644 --- a/tools/build/Makefile.feature +++ b/tools/build/Makefile.feature | |||
@@ -27,7 +27,7 @@ endef | |||
27 | # the rule that uses them - an example for that is the 'bionic' | 27 | # the rule that uses them - an example for that is the 'bionic' |
28 | # feature check. ] | 28 | # feature check. ] |
29 | # | 29 | # |
30 | FEATURE_TESTS ?= \ | 30 | FEATURE_TESTS_BASIC := \ |
31 | backtrace \ | 31 | backtrace \ |
32 | dwarf \ | 32 | dwarf \ |
33 | fortify-source \ | 33 | fortify-source \ |
@@ -56,6 +56,25 @@ FEATURE_TESTS ?= \ | |||
56 | get_cpuid \ | 56 | get_cpuid \ |
57 | bpf | 57 | bpf |
58 | 58 | ||
59 | # FEATURE_TESTS_BASIC + FEATURE_TESTS_EXTRA is the complete list | ||
60 | # of all feature tests | ||
61 | FEATURE_TESTS_EXTRA := \ | ||
62 | bionic \ | ||
63 | compile-32 \ | ||
64 | compile-x32 \ | ||
65 | cplus-demangle \ | ||
66 | hello \ | ||
67 | libbabeltrace \ | ||
68 | liberty \ | ||
69 | liberty-z \ | ||
70 | libunwind-debug-frame | ||
71 | |||
72 | FEATURE_TESTS ?= $(FEATURE_TESTS_BASIC) | ||
73 | |||
74 | ifeq ($(FEATURE_TESTS),all) | ||
75 | FEATURE_TESTS := $(FEATURE_TESTS_BASIC) $(FEATURE_TESTS_EXTRA) | ||
76 | endif | ||
77 | |||
59 | FEATURE_DISPLAY ?= \ | 78 | FEATURE_DISPLAY ?= \ |
60 | dwarf \ | 79 | dwarf \ |
61 | glibc \ | 80 | glibc \ |