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>
This commit is contained in:
parent
666810e86a
commit
9fd4186ac1
|
@ -27,7 +27,7 @@ endef
|
||||||
# the rule that uses them - an example for that is the 'bionic'
|
# the rule that uses them - an example for that is the 'bionic'
|
||||||
# feature check. ]
|
# feature check. ]
|
||||||
#
|
#
|
||||||
FEATURE_TESTS ?= \
|
FEATURE_TESTS_BASIC := \
|
||||||
backtrace \
|
backtrace \
|
||||||
dwarf \
|
dwarf \
|
||||||
fortify-source \
|
fortify-source \
|
||||||
|
@ -56,6 +56,25 @@ FEATURE_TESTS ?= \
|
||||||
get_cpuid \
|
get_cpuid \
|
||||||
bpf
|
bpf
|
||||||
|
|
||||||
|
# FEATURE_TESTS_BASIC + FEATURE_TESTS_EXTRA is the complete list
|
||||||
|
# of all feature tests
|
||||||
|
FEATURE_TESTS_EXTRA := \
|
||||||
|
bionic \
|
||||||
|
compile-32 \
|
||||||
|
compile-x32 \
|
||||||
|
cplus-demangle \
|
||||||
|
hello \
|
||||||
|
libbabeltrace \
|
||||||
|
liberty \
|
||||||
|
liberty-z \
|
||||||
|
libunwind-debug-frame
|
||||||
|
|
||||||
|
FEATURE_TESTS ?= $(FEATURE_TESTS_BASIC)
|
||||||
|
|
||||||
|
ifeq ($(FEATURE_TESTS),all)
|
||||||
|
FEATURE_TESTS := $(FEATURE_TESTS_BASIC) $(FEATURE_TESTS_EXTRA)
|
||||||
|
endif
|
||||||
|
|
||||||
FEATURE_DISPLAY ?= \
|
FEATURE_DISPLAY ?= \
|
||||||
dwarf \
|
dwarf \
|
||||||
glibc \
|
glibc \
|
||||||
|
|
Loading…
Reference in New Issue