Allow CROSS to be overridden with CROSS or CROSS_COMPILE
This commit is contained in:
parent
5b4c63440b
commit
dfbc81158b
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue