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
PS I am new to this, so please correct me if I did something wrong/forgot something. Signed-off-by: Maarten Bezemer <[email protected]> Index: rules.mk =================================================================== --- rules.mk (revision 21426) +++ rules.mk (working copy) @@ -18,6 +18,9 @@ export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' -- +GREP_OPTIONS= +export GREP_OPTIONS + qstrip=$(strip $(subst ",,$(1))) #")) Index: Makefile =================================================================== --- Makefile (revision 21426) +++ Makefile (working copy) @@ -24,6 +24,8 @@ override OPENWRT_BUILD=1 export OPENWRT_BUILD + GREP_OPTIONS= + export GREP_OPTIONS include $(TOPDIR)/include/debug.mk include $(TOPDIR)/include/depends.mk include $(TOPDIR)/include/toplevel.mk _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
