aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile')
-rw-r--r--testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile b/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile
index 7ea082f..07ba0b8 100644
--- a/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile
+++ b/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile
@@ -95,6 +95,8 @@ include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v6m.mk
# Other files (optional).
include $(CHIBIOS)/test/rt/test.mk
+include $(CHIBIOS)/os/hal/lib/streams/streams.mk
+include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
LDSCRIPT= $(STARTUPLD)/MKL2xZ128.ld
@@ -109,11 +111,10 @@ CSRC = $(STARTUPSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(TESTSRC) \
+ $(STREAMSSRC) \
+ $(SHELLSRC) \
main.c \
usbcfg.c \
- $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
- $(CHIBIOS)/os/various/shell/shell_cmd.c \
- $(CHIBIOS)/os/various/shell/shell.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
@@ -144,7 +145,7 @@ ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
- $(CHIBIOS)/os/various/shell $(CHIBIOS)/os/hal/lib/streams
+ $(STREAMSINC) $(SHELLINC)
#
# Project, sources and paths