the following patch was just integrated into master: commit 14f72bc2cc2aa89d9e4cd6efcae3fcc46ea9b59b Author: Stefan Reinauer stefan.reinauer@coreboot.org Date: Mon Apr 6 01:44:49 2015 +0200
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
See http://review.coreboot.org/9315 for details.
-gerrit