diff options
Diffstat (limited to 'test/coverage/Makefile')
-rw-r--r-- | test/coverage/Makefile | 7 |
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
|