aboutsummaryrefslogtreecommitdiff
path: root/projects/bootloader/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-28 01:16:51 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-28 01:16:51 -0400
commit75ddc749d6f86bbb5d0f7ca8fc52eeb1fb531426 (patch)
tree728e8f03fff23c7caaae6444d6a5a929b41fca1b /projects/bootloader/Makefile
parent494081d72999946076995bacf844e022f1bc09b1 (diff)
Fix the bootloader to accept firmware (with PIN login).
This involves entirely too much duplication of the CLI.
Diffstat (limited to 'projects/bootloader/Makefile')
-rw-r--r--projects/bootloader/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/projects/bootloader/Makefile b/projects/bootloader/Makefile
index a63d29c..7de93c0 100644
--- a/projects/bootloader/Makefile
+++ b/projects/bootloader/Makefile
@@ -4,7 +4,11 @@ OBJS = crc32.o dfu.o
BOARD_OBJS = \
./stm-init.o \
+ $(TOPLEVEL)/stm-fmc.o \
$(TOPLEVEL)/stm-uart.o \
+ $(TOPLEVEL)/spiflash_n25q128.o \
+ $(TOPLEVEL)/stm-fpgacfg.o \
+ $(TOPLEVEL)/stm-keystore.o \
$(TOPLEVEL)/stm-flash.o \
$(TOPLEVEL)/syscalls.o \
$(BOARD_DIR)/system_stm32f4xx.o \
@@ -12,6 +16,9 @@ BOARD_OBJS = \
./startup_stm32f429xx.o \
$(BOARD_DIR)/stm32f4xx_it.o
+CFLAGS += -I$(LIBHAL_SRC)
+LIBS += $(LIBHAL_BLD)/libhal.a $(LIBTFM_BLD)/libtfm.a
+
all: $(PROG:=.elf)
%.elf: %.o $(BOARD_OBJS) $(OBJS) $(LIBS)