ARM: Fix the compiler and platform identification for building on ARM.

This commit is contained in:
Ali Saidi 2012-09-07 14:20:53 -05:00
parent 0ecb351c51
commit 98e1ce638f

View file

@ -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