summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-09-07 14:20:53 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2012-09-07 14:20:53 -0500
commit98e1ce638fba1111d1438dd3d6cafd2b14eb05d7 (patch)
treef5d574cee14cd20bc2e74d515248de188d67feaa /util
parent0ecb351c5121ff59541a98ba9756adb134495ce7 (diff)
downloadgem5-98e1ce638fba1111d1438dd3d6cafd2b14eb05d7.tar.xz
ARM: Fix the compiler and platform identification for building on ARM.
Diffstat (limited to 'util')
-rw-r--r--util/m5/Makefile.arm4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/m5/Makefile.arm b/util/m5/Makefile.arm
index 80c562a06..0e05b028a 100644
--- a/util/m5/Makefile.arm
+++ b/util/m5/Makefile.arm
@@ -40,8 +40,8 @@
# Ali Saidi
### If we are not compiling on an arm, we must use cross tools ###
-ifneq ($(shell uname -m), arm)
-CROSS_COMPILE?=arm-none-linux-gnueabi-
+ifneq ($(shell uname -m), armv7l)
+CROSS_COMPILE?=arm-linux-gnueabi-
endif
CC=$(CROSS_COMPILE)gcc
AS=$(CROSS_COMPILE)as