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:
adamdunkels 2007-03-15 21:52:00 +00:00
parent 5a5313aa80
commit b0b3e5d0d6

View file

@ -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