diff --git a/cpu/at91sam7s/Makefile.at91sam7s b/cpu/at91sam7s/Makefile.at91sam7s index ac53aa999..e3bd7003b 100644 --- a/cpu/at91sam7s/Makefile.at91sam7s +++ b/cpu/at91sam7s/Makefile.at91sam7s @@ -145,7 +145,7 @@ ifdef CORE $(CC) $(LDFLAGS) $(CFLAGS) -nostartfiles -o $@ $(filter-out %.a,$^) $(filter %.a,$^) -lc $(filter %.a,$^) symbols.c: $(CORE) - $(NM) $< | awk -f $(CONTIKI_CPU)/builtins.awk -f ../../tools/mknmlist > symbols.c + $(NM) $< | awk -f $(CONTIKI_CPU)/builtins.awk -f $(CONTIKI)/tools/mknmlist > symbols.c else %.$(TARGET): %-nosyms.$(TARGET) diff --git a/cpu/msp430/Makefile.msp430 b/cpu/msp430/Makefile.msp430 index c54a249b5..256066793 100644 --- a/cpu/msp430/Makefile.msp430 +++ b/cpu/msp430/Makefile.msp430 @@ -1,4 +1,4 @@ -# $Id: Makefile.msp430,v 1.28 2009/03/17 15:56:32 adamdunkels Exp $ +# $Id: Makefile.msp430,v 1.29 2009/09/03 17:41:58 adamdunkels Exp $ ifdef nodeid CFLAGS += -DNODEID=$(nodeid) @@ -86,7 +86,7 @@ loader-init.o: ${CONTIKI_TARGET}/loader/loader-init.S ifdef CORE symbols.c: # @${CONTIKI}/tools/msp430-make-symbols $(CORE) - $(NM) $(CORE) | awk -f ../../tools/mknmlist > symbols.c + $(NM) $(CORE) | awk -f $(CONTIKI)/tools/mknmlist > symbols.c else symbols.c symbols.h: @${CONTIKI}/tools/make-empty-symbols diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 26be02e95..076de88d7 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -24,7 +24,7 @@ LDFLAGS = -Wl,-Map=contiki-$(TARGET).map,-export-dynamic ifdef CORE .PHONY: symbols.c symbols.h symbols.c symbols.h: - $(NM) -C $(CORE) | grep -v @ | grep -v dll_crt0 | awk -f ../../tools/mknmlist > symbols.c + $(NM) -C $(CORE) | grep -v @ | grep -v dll_crt0 | awk -f $(CONTIKI)/tools/mknmlist > symbols.c # @${CONTIKI}/tools/make-symbols $(CORE) else symbols.c symbols.h: diff --git a/cpu/x86/Makefile.x86 b/cpu/x86/Makefile.x86 index 3ec7633f7..a234f8922 100644 --- a/cpu/x86/Makefile.x86 +++ b/cpu/x86/Makefile.x86 @@ -20,7 +20,7 @@ LDFLAGS = -Wl,-Map=contiki-$(TARGET).map,-export-dynamic # .PHONY: symbols.c symbols.h ifdef CORE symbols.c symbols.h: - $(NM) $(CORE) | awk -f ../../tools/mknmlist > symbols.c + $(NM) $(CORE) | awk -f $(CONTIKI)/tools/mknmlist > symbols.c # @${CONTIKI}/tools/make-symbols $(CORE) else symbols.c symbols.h: