kconfig: check for pkg-config on make {menu,n,g,x}config
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 28 Jun 2018 23:39:50 +0000 (16:39 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 17 Jul 2018 16:18:09 +0000 (01:18 +0900)
commit4ab3b80159d4db63b902ef635d4b5e882911b2da
tree68ae89c167fc5bfbb64838e2dd135d4380b5208a
parent9d3cce1e8b8561fed5f383d22a4d6949db4eadbe
kconfig: check for pkg-config on make {menu,n,g,x}config

Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make sure
that other required files are present and to determine build flags
settings, but none of these check that pkg-config itself is present.
Add a check for all 4 of these targets and update
Documentation/process/changes.rst to mention 'pkg-config'.

Fixes kernel bugzilla #77511:
https://bugzilla.kernel.org/show_bug.cgi?id=77511

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Documentation/process/changes.rst
scripts/kconfig/Makefile
scripts/kconfig/check-pkgconfig.sh [new file with mode: 0644]