From f66483699517a8c8e1b12bf52518c84d77a252f9 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 25 Jan 2011 02:47:15 +0100 Subject: Adding copy of the mutable rom data into its position in ram, and fixing makefiles to have a proper dependency tree on the libraries. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 61db0a1..77c485d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ TARGET = demo.bin -LIBS = -Wl,--start-group -lc FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a -Wl,--end-group +LIBDEPS = FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a +LIBS = -Wl,--start-group -lc $(LIBDEPS) -Wl,--end-group export ROOTDIR = $(CURDIR) @@ -14,6 +15,10 @@ clean: clean-generic .PHONY: libs FreeRTOS arch os +FreeRTOS/libFreeRTOS.a: libs +arch/libarch.a: libs +os/libos.a: libs + libs: FreeRTOS arch os FreeRTOS: -- cgit v1.2.3