Allow CROSS to be overridden with CROSS or CROSS_COMPILE

This commit is contained in:
maralvira 2010-11-09 13:13:45 +00:00
parent 5b4c63440b
commit dfbc81158b

View file

@ -24,7 +24,8 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
THREADS = THREADS =
CROSS=arm-linux- CROSS_COMPILE ?= arm-linux-
CROSS ?= $(CROSS_COMPILE)
### Compiler definitions ### Compiler definitions
CC = $(CROSS)gcc CC = $(CROSS)gcc