mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:32:49 +02:00
[buildroot] fix for GREP_OPTIONS
When using GREP_OPTIONS to supply default options to grep, the buildsystem might get broken (For example adding --color=always breaks it) This patch will empty the GREP_OPTIONS to prevent the described (and any other) problems related to GREP_OPTIONS Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22443 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4fbc2d59b9
commit
805beb6cd9
2
Makefile
2
Makefile
@ -24,6 +24,8 @@ ifneq ($(OPENWRT_BUILD),1)
|
|||||||
|
|
||||||
override OPENWRT_BUILD=1
|
override OPENWRT_BUILD=1
|
||||||
export OPENWRT_BUILD
|
export OPENWRT_BUILD
|
||||||
|
GREP_OPTIONS=
|
||||||
|
export GREP_OPTIONS
|
||||||
include $(TOPDIR)/include/debug.mk
|
include $(TOPDIR)/include/debug.mk
|
||||||
include $(TOPDIR)/include/depends.mk
|
include $(TOPDIR)/include/depends.mk
|
||||||
include $(TOPDIR)/include/toplevel.mk
|
include $(TOPDIR)/include/toplevel.mk
|
||||||
|
3
rules.mk
3
rules.mk
@ -18,6 +18,9 @@ TMP_DIR:=$(TOPDIR)/tmp
|
|||||||
|
|
||||||
export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --
|
export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --
|
||||||
|
|
||||||
|
GREP_OPTIONS=
|
||||||
|
export GREP_OPTIONS
|
||||||
|
|
||||||
qstrip=$(strip $(subst ",,$(1)))
|
qstrip=$(strip $(subst ",,$(1)))
|
||||||
#"))
|
#"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user