summaryrefslogtreecommitdiff
path: root/cpu/mips/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-04 01:03:30 +0200
committerWolfgang Denk <wd@denx.de>2008-05-04 01:03:30 +0200
commitfb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e (patch)
treeef2a53892d00ecfd9a09d4597eedea783b291cf4 /cpu/mips/config.mk
parentbd98ee60df43ee6dd6f5ebe32c67d03e90513ff8 (diff)
parent7c0773fde6100b61be2558cb5d8c442a3194aecb (diff)
downloadu-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.zip
u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.tar.gz
u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/master/
Diffstat (limited to 'cpu/mips/config.mk')
-rw-r--r--cpu/mips/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mips/config.mk b/cpu/mips/config.mk
index b505a42..a173c54 100644
--- a/cpu/mips/config.mk
+++ b/cpu/mips/config.mk
@@ -20,7 +20,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
-v=$(shell $(AS) --version |grep "GNU assembler" |cut -d. -f2)
+v=$(shell $(AS) --version | grep 'GNU assembler' | egrep -o '2\.[0-9\.]+' | cut -d. -f2)
MIPSFLAGS:=$(shell \
if [ "$v" -lt "14" ]; then \
echo "-mcpu=4kc"; \