openwrt-6.x/scripts/config
Petr Štetiar 965f341aa9 build: fix host menu config targets using ncurses
On a recent Gentoo Linux installation, invoking `make menuconfig`, `make
kernel_menuconfig` or `make kernel_nconfig` in the build system fails,
whereas for example `make menuconfig` in the kernel tree alone works as
expected.

This is happening because STAGING_PREFIX is not defined when kernel's
{menu,n}config target calls pkg-config from the toolchain/host and thus
pkg-config returns an empty value, and the fallback values in the kernel
config script are applied but those are off and the linking fails.

Solution is to use system's pkg-config for all ncurses based menu config
targets in order to provide proper compiler/linker flags.

Ref: FS#2423
Cc: Thomas Albers <thomas.gameiro@gmail.com>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
Tested-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-25 12:50:24 +02:00
..
lxdialog
.gitignore scripts/config: add qconf files to .gitignore 2017-11-02 15:58:45 +01:00
conf.c config: Change conf.c remove compiler warnings 2018-07-30 10:43:36 +02:00
confdata.c
expr.c config: fix relational operators for bool and tristate symbols 2019-06-20 14:14:16 +02:00
expr.h
images.c
list.h
lkc_proto.h
lkc.h
Makefile build: fix host menu config targets using ncurses 2019-09-25 12:50:24 +02:00
mconf.c merge: base: update base-files and basic config 2017-12-08 19:41:18 +01:00
menu.c
qconf.cc
qconf.h
README
symbol.c
util.c
zconf.gperf
zconf.hash.c_shipped config: regenerate *_shipped sources 2019-06-20 14:14:16 +02:00
zconf.l
zconf.lex.c_shipped config: regenerate *_shipped sources 2019-06-20 14:14:16 +02:00
zconf.tab.c_shipped
zconf.y

These files were taken from the Linux 3.9 Kernel
Configuration System and modified for the OpenWrt Buildroot.