summaryrefslogtreecommitdiff
path: root/cpu/mips/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-18 01:26:14 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 01:26:14 +0100
commit0b20335015945cc9aedf27356e51aa3a0b0cdc48 (patch)
tree145c1e3568ba01f151e9ece4b2d10a710c692388 /cpu/mips/config.mk
parent7e14fc65368cbd2861b1207453da55a4fc7b3f81 (diff)
parent7e1d884b7cb602007329c517ec1c453e3a6a5d9c (diff)
downloadu-boot-imx-0b20335015945cc9aedf27356e51aa3a0b0cdc48.zip
u-boot-imx-0b20335015945cc9aedf27356e51aa3a0b0cdc48.tar.gz
u-boot-imx-0b20335015945cc9aedf27356e51aa3a0b0cdc48.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mips
Diffstat (limited to 'cpu/mips/config.mk')
-rw-r--r--cpu/mips/config.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/mips/config.mk b/cpu/mips/config.mk
index 487c4eb..ad03bd6 100644
--- a/cpu/mips/config.mk
+++ b/cpu/mips/config.mk
@@ -20,8 +20,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
-v=$(shell \
-$(CROSS_COMPILE)as --version|grep "GNU assembler"|awk '{print $$3}'|awk -F . '{print $$2}')
+v=$(shell $(AS) --version |grep "GNU assembler" |cut -d. -f2)
MIPSFLAGS=$(shell \
if [ "$v" -lt "14" ]; then \
echo "-mcpu=4kc"; \