From 00890caca821e18e8291ede6c4f9cb8311e0f298 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 12 May 2009 17:23:23 +0000 Subject: [PATCH] Make sure that symbols.c is included in every native cpu build, not just the native target --- cpu/native/Makefile.native | 2 ++ platform/native/Makefile.native | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 2c9150d7c..26be02e95 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -30,3 +30,5 @@ else symbols.c symbols.h: @${CONTIKI}/tools/make-empty-symbols endif + +contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o} diff --git a/platform/native/Makefile.native b/platform/native/Makefile.native index c23a4cfc2..444b34dd9 100644 --- a/platform/native/Makefile.native +++ b/platform/native/Makefile.native @@ -16,5 +16,3 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) ### Define the CPU directory CONTIKI_CPU=$(CONTIKI)/cpu/native include $(CONTIKI)/cpu/native/Makefile.native - -contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o}