From 2e8431b3d9d19d4c57a637e9b9aa0a903e959569 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 19 Dec 2006 09:21:12 +0000 Subject: [PATCH] Added generation of symbols.[ch] --- cpu/x86/Makefile.x86 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cpu/x86/Makefile.x86 b/cpu/x86/Makefile.x86 index cf9e4a666..9afaaea49 100644 --- a/cpu/x86/Makefile.x86 +++ b/cpu/x86/Makefile.x86 @@ -18,3 +18,12 @@ LDFLAGS = -Wl,-Map=contiki.map,-export-dynamic %.so: $(OBJECTDIR)/%.o $(LD) -shared -o $@ $^ + +.PHONY: symbols.c symbols.h +ifdef CORE +symbols.c symbols.h: + @${CONTIKI}/tools/make-symbols $(CORE) +else +symbols.c symbols.h: + @${CONTIKI}/tools/make-empty-symbols +endif