diff options
Diffstat (limited to 'projects/bootloader/Makefile')
-rw-r--r-- | projects/bootloader/Makefile | 7 |
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) |