summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2015-01-03 00:58:47 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-07 22:26:34 +0100
commit0515fe45661b6d320f8d2071df27ce64bfce2ab1 (patch)
tree71768867d6adac29eb25a54545d3550e221c57dd /package
parent8431bb59c81e4d8b2c0481d6c861f364d0d40aa9 (diff)
downloadbuildroot-0515fe45661b6d320f8d2071df27ce64bfce2ab1.tar.gz
buildroot-0515fe45661b6d320f8d2071df27ce64bfce2ab1.zip
Makefile: pass host PKG_CONFIG_PATH at "make menuconfig" time
Buildroot unexports PKG_CONFIG_PATH in the top-level Makefile for purity reasons. But it has an unfortunate side-effect in that "make menuconfig" will not (necessarily) be able to pick up ncurses via host pkg-config, breaking "make menuconfig" on systems where ncurses is installed in a non-standard location. This patch saves the original PKG_CONFIG_PATH variable in HOST_PKG_CONFIG_PATH and restores the original PKG_CONFIG_PATH variable only in the sub-processes that builds the various menuconfig/nconfig/... targets. (PKG_CONFIG_PATH has to be placed in front of the make command so that it propagates to sub-processes. If given as an argument, it doesn't work.) Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud