This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Kevin, All, On Monday 28 December 2009 05:12:48 Kevin Kirkup wrote: > When the GREP_OPTIONS is set to --color=always, the configure step > fails. Woopss... > Steps to reproduce: > 1) set the GREP_OPTIONS flag in bash > $ export GREP_OPTIONS=--color=always > 2) Run ct-ng config > $ ct-ng menuconfig arm-unknown-linux-gnueabi > 3) Build fails with the following error: > config.gen/arch.in:19: unknown option "01" [--SNIP--] > Any ideas? Can you try the attached patch, please ? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------'
diff --git a/config/config.mk b/config/config.mk --- a/config/config.mk +++ b/config/config.mk @@ -88,7 +88,7 @@ echo "config $(3)_$${_entry}"; \ echo " bool"; \ echo " prompt \"$${entry}\""; \ - dep_val=$$($(grep) -E '^# depends on ' $${file} 2>/dev/null); \ + dep_val=$$(GREP_OPTIONS= $(grep) -E '^# depends on ' $${file} 2>/dev/null); \ if [ -n "$${dep_val}" ]; then \ echo " $${dep_val#\# }"; \ fi; \ @@ -133,7 +133,7 @@ echo "menuconfig $(3)_$${_entry}"; \ echo " bool"; \ echo " prompt \"$${entry}\""; \ - dep_val=$$($(grep) -E '^# depends on ' $${file} 2>/dev/null); \ + dep_val=$$(GREP_OPTIONS= $(grep) -E '^# depends on ' $${file} 2>/dev/null); \ if [ -n "$${dep_val}" ]; then \ echo " $${dep_val#\# }"; \ fi; \
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |