From 8317685beb67ed9341bc83d03153580b816f452e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 25 Oct 2008 07:11:42 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@480 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/MSP430-MSP430x1611-GCC/Makefile | 9 +++++++++ readme.txt | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/demos/MSP430-MSP430x1611-GCC/Makefile b/demos/MSP430-MSP430x1611-GCC/Makefile index 097300911..b42da1da3 100644 --- a/demos/MSP430-MSP430x1611-GCC/Makefile +++ b/demos/MSP430-MSP430x1611-GCC/Makefile @@ -113,6 +113,9 @@ CPFLAGS = $(MCFLAGS) $(OPT) $(WARN) -Wa,-alms=$(<:.c=.lst) $(DEFS) LDFLAGS = $(MCFLAGS) -T$(LDSCRIPT) -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR) ODFLAGS = -x --syms +# Generate dependency information +CPFLAGS += -MD -MP -MF .dep/$(@F).d + # # Makefile rules # @@ -150,5 +153,11 @@ clean: -rm -f $(SRC:.c=.lst) -rm -f $(ASMSRC:.s=.s.bak) -rm -f $(ASMSRC:.s=.lst) + -rm -fR .dep + +# +# Include the dependency files, should be the last of the makefile +# +-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) # *** EOF *** diff --git a/readme.txt b/readme.txt index 6409d689d..14d26a3f2 100644 --- a/readme.txt +++ b/readme.txt @@ -75,8 +75,10 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process, *** 0.7.3 *** - Small optimization to the MSP430 serial driver. +- Added dependency informations handling to the MSP430 demo Makefile. - Removed the performance spreadsheet (it was *very* old) and added a - directory containing the test reports ./docs/reports. + directory containing the test reports ./docs/reports. Each report shows the + results from the latest test run on each target. *** 0.7.2 *** - NEW: Added a serial driver to the MSP430 port, the MSP430 port now has been -- cgit v1.2.3