You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/scripts/config
Petr Štetiar f2c321fc07 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>
(cherry picked from commit 965f341aa9)
5 years ago
..
lxdialog scripts/config: sync with linux upstream 10 years ago
.gitignore scripts/config: add qconf files to .gitignore 7 years ago
Makefile build: fix host menu config targets using ncurses 5 years ago
README build: add new menuconfig code based on linux 3.9 11 years ago
conf.c config: Change conf.c remove compiler warnings 6 years ago
confdata.c scripts/config: sync with latest linux upstream 8 years ago
expr.c config: fix relational operators for bool and tristate symbols 5 years ago
expr.h scripts/config: sync with latest linux upstream 8 years ago
images.c scripts/config: import qconf 7 years ago
list.h scripts/config: sync with linux upstream 10 years ago
lkc.h scripts/config: sync with latest linux upstream 8 years ago
lkc_proto.h scripts/config: sync with latest linux upstream 8 years ago
mconf.c merge: base: update base-files and basic config 7 years ago
menu.c scripts/config: sync with latest linux upstream 8 years ago
qconf.cc scripts/config: import qconf 7 years ago
qconf.h scripts/config: import qconf 7 years ago
symbol.c scripts/config: properly handle select on symbols with unmet direct dependencies 8 years ago
util.c scripts/config: sync with latest linux upstream 8 years ago
zconf.gperf scripts/config: sync with latest linux upstream 8 years ago
zconf.hash.c_shipped config: regenerate *_shipped sources 5 years ago
zconf.l scripts/config: sync with latest linux upstream 8 years ago
zconf.lex.c_shipped config: regenerate *_shipped sources 5 years ago
zconf.tab.c_shipped scripts/config: sync with latest linux upstream 8 years ago
zconf.y scripts/config: sync with latest linux upstream 8 years ago

README

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