OSDN Git Service

kconfig: refactor Qt package checks for building qconf
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 22 May 2018 07:22:19 +0000 (16:22 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:25:21 +0000 (18:25 +0900)
commit0b669a5076fd8c4b0dc6f21e41f93b1102c52925
tree77110d10e30ff33c7070cfbf9cd893b00d983fae
parente6ecfb45072c98bc3229d79a4a98093677f2a11f
kconfig: refactor Qt package checks for building qconf

Currently, the necessary package checks for building qconf is
surrounded by ifeq ($(MAKECMDGOALS),xconfig) ... endif.
Then, Make will restart when .tmp_qtcheck is generated.

To simplify the Makefile, move the scripting to a separate file,
and use filechk.  The shell script is executed everytime xconfig
is run, but it is not a costly script.

In the old code, 'pkg-config --exists' only checked Qt5Core / QtCore,
but the set of necessary packages should be checked.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/Makefile
scripts/kconfig/qconf-cfg.sh [new file with mode: 0755]