Make gcc default LD, and allow override with LD_OVERRIDE
This commit is contained in:
parent
135ae838de
commit
db41a51ae6
|
@ -4,7 +4,11 @@ CONTIKI_SOURCEFILES += mtarch.c rtimer-arch.c elfloader-stub.c watchdog.c
|
||||||
|
|
||||||
### Compiler definitions
|
### Compiler definitions
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
LD ?= gcc
|
ifdef LD_OVERRIDE
|
||||||
|
LD = $(LD_OVERRIDE)
|
||||||
|
else
|
||||||
|
LD = gcc
|
||||||
|
endif
|
||||||
AS ?= as
|
AS ?= as
|
||||||
NM ?= nm
|
NM ?= nm
|
||||||
OBJCOPY ?= objcopy
|
OBJCOPY ?= objcopy
|
||||||
|
|
Loading…
Reference in a new issue