X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=bfb52c5ddd63ee2c38d4639c5fd7226e9103667f;hb=22b7bd6b1355baf7220136b6bd8277a321b70c39;hp=3ac110367df48105695af2ff80341ba5f7c74e85;hpb=d02e887d7ceb25008fa70c42174207dfeb65b5f0;p=openwrt%2Fstaging%2Fnbd.git diff --git a/Makefile b/Makefile index 3ac110367d..bfb52c5ddd 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt dir world: -DISTRO_PKG_CONFIG:=$(shell $(TOPDIR)/scripts/command_all.sh pkg-config | grep -E '\/usr' | head -n 1) +DISTRO_PKG_CONFIG:=$(shell $(TOPDIR)/scripts/command_all.sh pkg-config | grep -E '\/usr' -m 1) export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) ifneq ($(OPENWRT_BUILD),1)