aboutsummaryrefslogtreecommitdiffstats
path: root/test/coverage/Makefile
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-04-30 09:40:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-04-30 09:40:21 +0000
commit5d374c633e69ae84bc8e02fc3bb3d0cbeded201e (patch)
tree7d53420ff5256a88a0ed4ed644ea924664a7e312 /test/coverage/Makefile
parent5ce36d57c90b68b058b7eee4306d6a4893b49562 (diff)
downloadChibiOS-5d374c633e69ae84bc8e02fc3bb3d0cbeded201e.tar.gz
ChibiOS-5d374c633e69ae84bc8e02fc3bb3d0cbeded201e.tar.bz2
ChibiOS-5d374c633e69ae84bc8e02fc3bb3d0cbeded201e.zip
Fixed bug 3522301.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4151 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/coverage/Makefile')
-rw-r--r--test/coverage/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/coverage/Makefile b/test/coverage/Makefile
index 82dda4737..d19014202 100644
--- a/test/coverage/Makefile
+++ b/test/coverage/Makefile
@@ -35,6 +35,9 @@ DLIBDIR =
# List all default libraries here
DLIBS = -lws2_32
+
+# Must be a directory in ${CHIBIOS}/os/hal/platforms
+HOST_TYPE = Win32
#
# End of default section
@@ -60,7 +63,7 @@ UADEFS =
CHIBIOS = ../..
include $(CHIBIOS)/boards/simulator/board.mk
include ${CHIBIOS}/os/hal/hal.mk
-include ${CHIBIOS}/os/hal/platforms/Win32/platform.mk
+include ${CHIBIOS}/os/hal/platforms/$(HOST_TYPE)/platform.mk
include ${CHIBIOS}/os/ports/GCC/SIMIA32/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
@@ -72,7 +75,7 @@ SRC = ${PORTSRC} \
${HALSRC} \
${PLATFORMSRC} \
$(BOARDSRC) \
- ${CHIBIOS}/os/hal/platforms/Win32/console.c \
+ ${CHIBIOS}/os/hal/platforms/$(HOST_TYPE)/console.c \
main.c
# List ASM source files here