From 75ddc749d6f86bbb5d0f7ca8fc52eeb1fb531426 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 28 Jun 2016 01:16:51 -0400 Subject: Fix the bootloader to accept firmware (with PIN login). This involves entirely too much duplication of the CLI. --- projects/bootloader/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'projects/bootloader/Makefile') 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) -- cgit v1.2.3