From 98e1ce638fba1111d1438dd3d6cafd2b14eb05d7 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Fri, 7 Sep 2012 14:20:53 -0500 Subject: ARM: Fix the compiler and platform identification for building on ARM. --- util/m5/Makefile.arm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/m5') 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 -- cgit v1.2.3