From: Ali Saidi Date: Fri, 7 Sep 2012 19:20:53 +0000 (-0500) Subject: ARM: Fix the compiler and platform identification for building on ARM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98e1ce638fba1111d1438dd3d6cafd2b14eb05d7;p=gem5.git ARM: Fix the compiler and platform identification for building on ARM. --- 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