瀏覽代碼

build: fix warnings from grep

Fixes build warnings when using newer versions of grep.

Signed-off-by: Chris Osgood <[email protected]>
Tested-by: Georgi Valkov <[email protected]>
Chris Osgood 3 年之前
父節點
當前提交
c5e167e0d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      target/sdk/files/Makefile

+ 1 - 1
target/sdk/files/Makefile

@@ -14,7 +14,7 @@ export TOPDIR LC_ALL LANG SDK
 
 world:
 
-DISTRO_PKG_CONFIG:=$(shell $(TOPDIR)/scripts/command_all.sh pkg-config | grep -E '\/usr' -m 1)
+DISTRO_PKG_CONFIG:=$(shell $(TOPDIR)/scripts/command_all.sh pkg-config | grep '/usr' -m 1)
 export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
 
 ifneq ($(OPENWRT_BUILD),1)