config/arch/x86.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 29 21:16:51 2009 +0100 (2009-12-29)
changeset 1667 a5020a1facff
parent 1345 27fec561af53
child 2444 896cb0d36c1a
permissions -rw-r--r--
config: fix generated config files when GREP_OPTIONS set --color=always

grep is used when generating some .in files (in config.gen). If GREP_OPTIONS
contains --color=always, then the generated files will contains some escape
sequences setting the color, and mconf would choke on those escape sequences.

Always set and export an empty GREP_OPTIONS to avoid that.

Issue reported by Kevin Kirkup <kevin dot kirkup at gmail dot com> :
http://sourceware.org/ml/crossgcc/2009-12/msg00026.html
     1 # x86 specific options
     2 
     3 config ARCH_x86
     4     select ARCH_SUPPORTS_32
     5     select ARCH_SUPPORTS_64
     6     select ARCH_DEFAULT_32
     7     select ARCH_USE_MMU
     8     select ARCH_SUPPORT_ARCH
     9     select ARCH_SUPPORT_CPU
    10     select ARCH_SUPPORT_TUNE
    11     help
    12       The x86 architecture, as defined by:
    13         32-bit (ia32) : http://www.intel.com/
    14         64-bit (amd64): http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html