From 00bfdd2bc7717a0e6d6e9e61906aad1e7461ee31 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 10 Apr 2009 19:32:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@886 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/Win32-MinGW/Makefile | 15 +-------------- readme.txt | 2 -- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/demos/Win32-MinGW/Makefile b/demos/Win32-MinGW/Makefile index db72f2488..ed66e51fd 100644 --- a/demos/Win32-MinGW/Makefile +++ b/demos/Win32-MinGW/Makefile @@ -19,7 +19,6 @@ TRGT = mingw32- CC = $(TRGT)gcc AS = $(TRGT)gcc -x assembler-with-cpp -COV = gcov # List all default C defines here, like -D_DEBUG=1 DDEFS = @@ -66,7 +65,7 @@ SRC = chcore.c main.c ../../ports/win32/simcom.c \ ${TESTSRC} # List ASM source files here -ASRC = +ASRC = # List all user directories here UINCDIR = ../../src/include @@ -80,9 +79,6 @@ ULIBS = # Define optimisation level here OPT = -ggdb -O2 -fomit-frame-pointer -# Debug target options here -DOPT = -ggdb -O0 -fomit-frame-pointer -fprofile-arcs -ftest-coverage - # # End of user defines ############################################################################################## @@ -98,11 +94,9 @@ LIBS = $(DLIBS) $(ULIBS) LDFLAGS = -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR) ASFLAGS = -Wa,-amhls=$(<:.s=.lst) $(ADEFS) CPFLAGS = $(OPT) -Wall -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS) -DCPFLAGS = $(DOPT) -Wall -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS) # Generate dependency information CPFLAGS += -MD -MP -MF .dep/$(@F).d -DCPFLAGS += -MD -MP -MF .dep/$(@F).d # # makefile rules @@ -110,10 +104,6 @@ DCPFLAGS += -MD -MP -MF .dep/$(@F).d all: $(OBJS) $(PROJECT).exe -debug: $(OBJS) $(PROJECT).exe -CPFLAGS = $(DCPFLAGS) -LDFLAGS += -lgcov - %o : %c $(CC) -c $(CPFLAGS) -I . $(INCDIR) $< -o $@ @@ -134,12 +124,9 @@ clean: -rm -f $(PROJECT).map -rm -f $(SRC:.c=.c.bak) -rm -f $(SRC:.c=.lst) - -rm -f $(SRC:.c=.gcno) - -rm -f $(SRC:.c=.gcda) -rm -f $(ASRC:.s=.s.bak) -rm -f $(ASRC:.s=.lst) -rm -fR .dep - -rm -fR gcov # # Include the dependency files, should be the last of the makefile diff --git a/readme.txt b/readme.txt index d650d04ab..4d25e0ad0 100644 --- a/readme.txt +++ b/readme.txt @@ -76,8 +76,6 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process, *** 1.3.0 *** - FIX: Fixed regression in MinGW demo (bug 2745153)(backported in stable branch). -- NEW: Added "debug" and "gcov" targets to the MinGW demo Makefile. The new - targets allow to calculate the code coverage. *** 1.2.0 *** - Added license exception text to the 1.2.0 branch. -- cgit v1.2.3