Allow CROSS to be overridden with CROSS or CROSS_COMPILE
This commit is contained in:
parent
5b4c63440b
commit
dfbc81158b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user