aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-05-18 11:08:33 +0200
committerPaul Selkirk <paul@psgd.org>2016-05-18 11:08:33 +0200
commit802a6f374f7569598dea55b3992818b65985f8b6 (patch)
treeb863b6b2c5dd35897db86f6bf70b17798ad4323a /Makefile
parent9cbdeb0a874e50059bc9846d69b18f11a7b6f84c (diff)
build libcli
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 43cc10b..d2fc5ef 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ BOARD_DIR = $(CMSIS_DIR)/$(BOARD)
RTOS_DIR = $(MBED_DIR)/rtos
export LIBTFM_DIR = $(LIBS_DIR)/thirdparty/libtfm
export LIBHAL_DIR = $(LIBS_DIR)/libhal
+export LIBCLI_DIR = $(LIBS_DIR)/libcli
export LIBS = $(MBED_DIR)/libstmf4.a $(RTOS_DIR)/librtos.a
@@ -119,12 +120,18 @@ $(LIBHAL_DIR)/libhal.a: $(LIBTFM_DIR)/libtfm.a
# $(MAKE) -C $(LIBHAL_DIR) RPC_CLIENT=local IO_BUS=fmc KS=volatile libhal.a
$(MAKE) -C $(LIBHAL_DIR) IO_BUS=fmc RPC_SERVER=yes RPC_TRANSPORT=serial KS=volatile libhal.a
+$(LIBCLI_DIR)/libcli.a:
+ $(MAKE) -C $(LIBCLI_DIR)
+
libhal-test: $(BOARD_OBJS) $(LIBS) $(LIBHAL_DIR)/libhal.a
$(MAKE) -C projects/libhal-test
hsm: $(BOARD_OBJS) $(LIBS) $(LIBHAL_DIR)/libhal.a
$(MAKE) -C projects/hsm
+cli-test: $(BOARD_OBJS) $(LIBS) $(LIBCLI_DIR)/libcli.a
+ $(MAKE) -C projects/cli-test
+
# don't automatically delete objects, to avoid a lot of unnecessary rebuilding
.SECONDARY: $(BOARD_OBJS)