aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-14 12:03:15 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-14 12:03:15 -0400
commit3e31061ff6cbba7ea5bcb16dd0fa55b65ebf586f (patch)
treebdf49be97f56581017b08e6351ef3c26d9939a3e /projects/hsm/Makefile
parent91db5e0c49b77c7a21a3b6d1c70b7128dcfa55a9 (diff)
Import cli-test into hsm pretty much as-is.
Diffstat (limited to 'projects/hsm/Makefile')
-rw-r--r--projects/hsm/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/projects/hsm/Makefile b/projects/hsm/Makefile
index 1ee5323..55e021f 100644
--- a/projects/hsm/Makefile
+++ b/projects/hsm/Makefile
@@ -1,7 +1,7 @@
PROJ = hsm
# objs in addition to $(PROJ).o
-OBJS =
+OBJS = crc32.o mgmt-cli.o mgmt-dfu.c mgmt-fpga.c mgmt-misc.c mgmt-show.c
BOARD_OBJS = \
$(TOPLEVEL)/stm-init.o \
@@ -20,9 +20,12 @@ BOARD_OBJS = \
$(BOARD_DIR)/stm32f4xx_it_rtos.o
CFLAGS += -I$(LIBHAL_DIR)
+CFLAGS += -I$(LIBCLI_DIR)
CFLAGS += -I$(RTOS_DIR)/rtos -I$(RTOS_DIR)/rtx/TARGET_CORTEX_M
-LIBS += $(LIBHAL_DIR)/libhal.a $(LIBTFM_DIR)/libtfm.a $(RTOS_DIR)/librtos.a
+LIBS += $(LIBHAL_DIR)/libhal.a $(LIBTFM_DIR)/libtfm.a
+LIBS += $(RTOS_DIR)/librtos.a
+LIBS += $(LIBCLI_DIR)/libcli.a
all: $(PROJ:=.elf)