diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2012-09-07 14:20:53 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2012-09-07 14:20:53 -0500 |
commit | 98e1ce638fba1111d1438dd3d6cafd2b14eb05d7 (patch) | |
tree | f5d574cee14cd20bc2e74d515248de188d67feaa /util | |
parent | 0ecb351c5121ff59541a98ba9756adb134495ce7 (diff) | |
download | gem5-98e1ce638fba1111d1438dd3d6cafd2b14eb05d7.tar.xz |
ARM: Fix the compiler and platform identification for building on ARM.
Diffstat (limited to 'util')
-rw-r--r-- | util/m5/Makefile.arm | 4 |
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 |