[PATCH v2 0/5] kconfig: refactor package checks for GUI frontends

From: Masahiro Yamada
Date: Sun May 20 2018 - 03:23:47 EST


Kconfig supports 4 GUI frontends.
Each of them needs some support packages, but checks them differently:

qconf, gconf: check packages in Makefile (pkg-config is required)
mconf: lxdialog/check-lxdialog.sh
nconf: needs ncurses, but its presence is not checked

This series refactor the package checks so that all of them work
in the same way.

The package check scripts have been moved to scripts/kconfig/*conf-cfg.sh

The motivation of this clean-up is Randy's following patch:
https://patchwork.kernel.org/patch/10277723/

I want to clean up existing code before adding more checks.


Masahiro Yamada (5):
kbuild: do not display CHK for filechk
kconfig: refactor Qt package checks for building qconf
kconfig: refactor GTK+ package checks for building gconf
kconfig: refactor ncurses package checks for building mconf
kconfig: refactor ncurses package checks for building nconf

scripts/Kbuild.include | 1 -
scripts/kconfig/Makefile | 160 ++++++++++-------------------
scripts/kconfig/gconf-cfg.sh | 23 +++++
scripts/kconfig/lxdialog/check-lxdialog.sh | 93 -----------------
scripts/kconfig/lxdialog/dialog.h | 2 +-
scripts/kconfig/mconf-cfg.sh | 38 +++++++
scripts/kconfig/nconf-cfg.sh | 34 ++++++
scripts/kconfig/qconf-cfg.sh | 25 +++++
8 files changed, 174 insertions(+), 202 deletions(-)
create mode 100755 scripts/kconfig/gconf-cfg.sh
delete mode 100755 scripts/kconfig/lxdialog/check-lxdialog.sh
create mode 100755 scripts/kconfig/mconf-cfg.sh
create mode 100644 scripts/kconfig/nconf-cfg.sh
create mode 100755 scripts/kconfig/qconf-cfg.sh

--
2.7.4