coreboot-kgpe-d16/util/kconfig
Stefan Reinauer 14f72bc2cc kconfig/lxdialog: get ncurses CFLAGS with pkg-config
This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).

This patch changes ccflags() so that it tries pkg-config first, and only
if pkg-config fails does it go back to the fallback/manual checks. This
is the same algorithm that ldflags() already uses.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

Change-Id: Ie2372ca35546c1fc2d6cf603614683312ee4ea4c
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/9315
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
2015-04-06 23:12:55 +02:00
..
lxdialog kconfig/lxdialog: get ncurses CFLAGS with pkg-config 2015-04-06 23:12:55 +02:00
Makefile kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
POTFILES.in kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
check.sh kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
conf.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
confdata.c kconfig: create files in target directory if requested 2014-11-18 08:25:50 +01:00
expr.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
expr.h kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
gconf.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
gconf.glade kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
images.c Kconfig! 2009-08-12 15:00:51 +00:00
kxgettext.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
list.h kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
lkc.h kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
lkc_proto.h kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
mconf.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
menu.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
miniconfig util: Add miniconfig, a script to minimize coreboot configurations 2015-03-26 03:06:54 +01:00
nconf.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
nconf.gui.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
nconf.h kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
qconf.cc kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
qconf.h kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
regex.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
regex.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
symbol.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
util.c kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
zconf.gperf kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
zconf.hash.c_shipped kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
zconf.l kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
zconf.lex.c_shipped kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
zconf.tab.c_shipped kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
zconf.y kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00