u-boot-brain/cpu/mips
Shinya Kuribayashi 141ba1cad8 [MIPS] cpu/mips/config.mk: Fix GNU assembler minor version picker
Current trick to pick up GNU assembler minor version uses a dot(.) as a
delimiter, and take the second field to obtain minor version number. But
as can be expected, this doesn't work with a version string which has
dots more than needs.

Here's an example:

$ mips-linux-gnu-as --version | grep 'GNU assembler'
GNU assembler (Sourcery G++ Lite 4.2-129) 2.18.50.20080215
$ mips-linux-gnu-as --version | grep 'GNU assembler' | cut -d. -f2
2-129) 2
$

This patch restricts the version format to 2.XX.XX... This will work
in most cases.

$ mips-linux-gnu-as --version | grep 'GNU assembler' | egrep -o '2\.[0-9\.]+'
2.18.50.20080215
$ mips-linux-gnu-as --version | grep 'GNU assembler' | egrep -o '2\.[0-9\.]+' | cut -d. -f2
18
$

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-05-03 13:51:44 +09:00
..
asc_serial.c * Patch by Steven Scholz, 10 Oct 2003 2003-10-09 20:09:04 +00:00
asc_serial.h * Patch by Steven Scholz, 10 Oct 2003 2003-10-09 20:09:04 +00:00
au1x00_eth.c [MIPS] au1x00_eth.c: Fixed a warning on pb1000 build. 2007-11-17 18:54:16 +09:00
au1x00_serial.c Fix au1x00_serial baud rate calculation: 2005-09-25 16:50:33 +02:00
au1x00_usb_ohci.c Add support for AMD's Pb1x00 eval board; 2005-09-25 00:53:22 +02:00
au1x00_usb_ohci.h Add support for AMD's Pb1x00 eval board; 2005-09-25 00:53:22 +02:00
cache.S [MIPS] cpu/mips/cache.S: Add dcache_enable 2008-05-03 13:51:28 +09:00
config.mk [MIPS] cpu/mips/config.mk: Fix GNU assembler minor version picker 2008-05-03 13:51:44 +09:00
cpu.c cpu/mips/cpu.c: Fix flush_cache bug 2008-04-17 14:54:23 -07:00
incaip_clock.c Code cleanup, especially MIPS for GCC 4.x 2005-12-04 00:40:34 +01:00
incaip_wdt.S Use jr as register jump instruction 2008-04-18 00:47:29 -07:00
interrupts.c * Code cleanup: 2003-06-27 21:31:46 +00:00
Makefile Move "ar" flags to config.mk to allow for silent "make -s" 2006-10-09 01:02:05 +02:00
start.S Use jr as register jump instruction 2008-04-18 00:47:29 -07:00