diff options
author | flabbergast <s3+flabbergast@sdfeu.org> | 2016-04-14 19:25:02 +0100 |
---|---|---|
committer | flabbergast <s3+flabbergast@sdfeu.org> | 2016-04-24 16:38:04 +0100 |
commit | a109d62f0ac2da3dbf6cf1ac28ae99ec30f0d6c1 (patch) | |
tree | 79b944697f495f46bb9b8b5ae4db1b27dc743254 /testhal/KINETIS/FRDM-KL26Z | |
parent | c35568fafc579061a8565669c106a4fcc32d8681 (diff) | |
download | ChibiOS-Contrib-a109d62f0ac2da3dbf6cf1ac28ae99ec30f0d6c1.tar.gz ChibiOS-Contrib-a109d62f0ac2da3dbf6cf1ac28ae99ec30f0d6c1.tar.bz2 ChibiOS-Contrib-a109d62f0ac2da3dbf6cf1ac28ae99ec30f0d6c1.zip |
[KINETIS] Update Makefiles to use shell.mk.
Diffstat (limited to 'testhal/KINETIS/FRDM-KL26Z')
-rw-r--r-- | testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/Makefile | 9 |
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
|