summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-02-05 09:31:48 -0800
committerPixel <pixel@nobis-crew.org>2011-02-05 09:34:55 -0800
commitafdbb22838d7528b70924232814cb84e25890d83 (patch)
tree2f8b734839f23ac9b7592d62fcf527758449714b /Makefile
parent0044f9480cfa8d5cf0a3d84e84be25e32b588726 (diff)
Adding automatic dependency tree building.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 800541a..4c3e49b 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ clean: clean-generic
$(Q)$(MAKE) $(MAKE_OPTS) -C tools clean
$(Q)rm -f test-romfs.bin
-.PHONY: libs FreeRTOS arch os libc tools
+.PHONY: libs FreeRTOS arch os libc tools deps
FreeRTOS/libFreeRTOS.a: FreeRTOS
arch/libarch.a: arch
@@ -53,6 +53,16 @@ test-romfs.o: tools/mkromfs
$(Q) $(TARGET_OBJCOPY_BIN) --prefix-sections '.romfs' test-romfs.bin test-romfs.o
$(Q)$(MAKE) $(MAKE_OPTS) -C tools
+deps: ldeps
+ $(E) "[DEPS] Creating dependency tree for FreeRTOS"
+ $(Q)$(MAKE) $(MAKE_OPTS) -C FreeRTOS ldeps
+ $(E) "[DEPS] Creating dependency tree for arch"
+ $(Q)$(MAKE) $(MAKE_OPTS) -C arch ldeps
+ $(E) "[DEPS] Creating dependency tree for os"
+ $(Q)$(MAKE) $(MAKE_OPTS) -C os ldeps
+ $(E) "[DEPS] Creating dependency tree for libc"
+ $(Q)$(MAKE) $(MAKE_OPTS) -C libc ldeps
+
include FreeRTOS/config.mk
include arch/config.mk
include os/config.mk