diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-31 18:34:55 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-09-03 02:13:48 +0900 |
commit | fd65465b7016dc6d9fa5c2f39cc706c231c9a089 (patch) | |
tree | 56763fcfd78b59f7f8096a3616a34ef8fec30245 /scripts/kconfig/Makefile | |
parent | bc8d2e20a3eb2f8d268ad7bbca878cf3acdcf389 (diff) | |
download | linux-fd65465b7016dc6d9fa5c2f39cc706c231c9a089.tar.gz linux-fd65465b7016dc6d9fa5c2f39cc706c231c9a089.tar.bz2 linux-fd65465b7016dc6d9fa5c2f39cc706c231c9a089.zip |
kconfig: do not require pkg-config on make {menu,n}config
Meelis Roos reported a {menu,n}config regression:
"I have libncurses devel package installed in the default system
location (as do 99%+ on actual developers probably) and in this
case, pkg-config is useless. pkg-config is needed only when
libraries and headers are installed in non-default locations but
it is bad to require installation of pkg-config on all the machines
where make menuconfig would be possibly run."
For {menu,n}config, do not use pkg-config if it is not installed.
For {g,x}config, keep checking pkg-config since we really rely on it
for finding the installation paths of the required packages.
Fixes: 4ab3b80159d4 ("kconfig: check for pkg-config on make {menu,n,g,x}config")
Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Meelis Roos <mroos@linux.ee>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 4a7bd2192073..67ed9f6ccdf8 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -221,7 +221,6 @@ $(obj)/zconf.tab.o: $(obj)/zconf.lex.c # check if necessary packages are available, and configure build flags define filechk_conf_cfg - $(CONFIG_SHELL) $(srctree)/scripts/kconfig/check-pkgconfig.sh; \ $(CONFIG_SHELL) $< endef |