merge_config.sh: Check error codes from make
authorMark Brown <broonie@kernel.org>
Mon, 19 Aug 2019 20:06:50 +0000 (21:06 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Aug 2019 16:14:11 +0000 (01:14 +0900)
commitcdfca821571dfad27434b71cb43e0654667c0fd1
treecc761b38ba18a25f739d24c4bba1778b41e7a40a
parenteb27ea5ce7f367b185953cc9bc6e606004cfd8c4
merge_config.sh: Check error codes from make

When we execute make after merging the configurations we ignore any
errors it produces causing whatever is running merge_config.sh to be
unaware of any failures.  This issue was noticed by Guillaume Tucker
while looking at problems with testing of clang only builds in KernelCI
which caused Kbuild to be unable to find a working host compiler.

This implementation was suggested by Yamada-san.

Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/merge_config.sh