tools build: Change FEATURE_TESTS and FEATURE_DISPLAY to weak binding
Replace strong binding of FEATURE_TESTS and FEATURE_DISPLAY by weak binding. This patch enables other makefiles which include tools/build/Makefile.feature enable only limited feathres to check. Signed-off-by: Wang Nan <wangnan0@huawei.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexei Starovoitov <ast@plumgrid.com> Cc: Brendan Gregg <brendan.d.gregg@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: pi3orama@163.com Cc: Zefan Li <lizefan@huawei.com> Link: http://lkml.kernel.org/r/1431860222-61636-5-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
bb53e176fe
commit
8135c8c750
|
@ -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 ?= \
|
||||||
backtrace \
|
backtrace \
|
||||||
dwarf \
|
dwarf \
|
||||||
fortify-source \
|
fortify-source \
|
||||||
|
@ -53,7 +53,7 @@ FEATURE_TESTS = \
|
||||||
zlib \
|
zlib \
|
||||||
lzma
|
lzma
|
||||||
|
|
||||||
FEATURE_DISPLAY = \
|
FEATURE_DISPLAY ?= \
|
||||||
dwarf \
|
dwarf \
|
||||||
glibc \
|
glibc \
|
||||||
gtk2 \
|
gtk2 \
|
||||||
|
|
Loading…
Reference in New Issue