Make gcc default LD, and allow override with LD_OVERRIDE

This commit is contained in:
Adam Dunkels 2012-11-21 19:46:31 +01:00
parent 135ae838de
commit db41a51ae6

View file

@ -4,7 +4,11 @@ CONTIKI_SOURCEFILES += mtarch.c rtimer-arch.c elfloader-stub.c watchdog.c
### Compiler definitions
CC ?= gcc
LD ?= gcc
ifdef LD_OVERRIDE
LD = $(LD_OVERRIDE)
else
LD = gcc
endif
AS ?= as
NM ?= nm
OBJCOPY ?= objcopy