update/fix kernel_menuconfig issue
authorAlexandros Couloumbis <alex@ozo.com>
Tue, 14 Apr 2020 17:18:33 +0000 (20:18 +0300)
committerAlexandros Couloumbis <alex@ozo.com>
Tue, 14 Apr 2020 17:18:33 +0000 (20:18 +0300)
Makefile

index 5301883061589de7c4a7ffbb5e4a8d4c0588f6c6..d8f3f00a128f76a1dbcf1514af59a1e85a5c58c3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@ $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt dir
 
 world:
 
+DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '\/usr' | head -n 1)
 export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
 
 ifneq ($(OPENWRT_BUILD),1)