Redefined LD to gcc to make things compile. Removed generation of symbols.[ch] due to problematic builds (seemingly neverending loops).
This commit is contained in:
parent
5a5313aa80
commit
b0b3e5d0d6
1 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@ CONTIKI_SOURCEFILES += mtarch.c
|
||||||
|
|
||||||
### Compiler definitions
|
### Compiler definitions
|
||||||
CC = gcc
|
CC = gcc
|
||||||
LD = ld
|
LD = gcc
|
||||||
AS = as
|
AS = as
|
||||||
OBJCOPY = objcopy
|
OBJCOPY = objcopy
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
|
@ -19,11 +19,11 @@ LDFLAGS = -Wl,-Map=contiki.map,-export-dynamic
|
||||||
%.so: $(OBJECTDIR)/%.o
|
%.so: $(OBJECTDIR)/%.o
|
||||||
$(LD) -shared -o $@ $^
|
$(LD) -shared -o $@ $^
|
||||||
|
|
||||||
.PHONY: symbols.c symbols.h
|
# .PHONY: symbols.c symbols.h
|
||||||
ifdef CORE
|
# ifdef CORE
|
||||||
symbols.c symbols.h:
|
# symbols.c symbols.h:
|
||||||
@${CONTIKI}/tools/make-symbols $(CORE)
|
# @${CONTIKI}/tools/make-symbols $(CORE)
|
||||||
else
|
# else
|
||||||
symbols.c symbols.h:
|
symbols.c symbols.h:
|
||||||
@${CONTIKI}/tools/make-empty-symbols
|
@${CONTIKI}/tools/make-empty-symbols
|
||||||
endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue