Added elfloader-stub, symbols generation

This commit is contained in:
adamdunkels 2007-03-22 23:58:08 +00:00
parent 199e0cb30d
commit 8293e6215f

View file

@ -1,4 +1,4 @@
CONTIKI_SOURCEFILES += mtarch.c
CONTIKI_SOURCEFILES += mtarch.c elfloader-stub.c
### Compiler definitions
CC = gcc
@ -20,10 +20,11 @@ LDFLAGS = -Wl,-Map=contiki.map,-export-dynamic
$(LD) -shared -o $@ $^
# .PHONY: symbols.c symbols.h
# ifdef CORE
# symbols.c symbols.h:
ifdef CORE
symbols.c symbols.h:
$(NM) $(CORE) | awk -f ../../tools/mknmlist > symbols.c
# @${CONTIKI}/tools/make-symbols $(CORE)
# else
else
symbols.c symbols.h:
@${CONTIKI}/tools/make-empty-symbols
#endif
endif