diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-27 15:56:16 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-27 15:56:16 +0200 |
commit | 92ce4da1158aabd1a45d3a5044a5e5fd7bac3c41 (patch) | |
tree | 01b86c44026aacdd9a23d584f36c929c9a681f37 /projects/bootloader/Makefile | |
parent | 24ce7281fcf08cd471f2948af7658dd57a53ee63 (diff) |
DFU working - but no signature validation for now.
Diffstat (limited to 'projects/bootloader/Makefile')
-rw-r--r-- | projects/bootloader/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/bootloader/Makefile b/projects/bootloader/Makefile index 7cef633..4eef758 100644 --- a/projects/bootloader/Makefile +++ b/projects/bootloader/Makefile @@ -1,8 +1,10 @@ PROG = bootloader +OBJS = crc32.o dfu.o + all: $(PROG:=.elf) -%.elf: %.o $(BOARD_OBJS) $(LIBS) +%.elf: %.o $(BOARD_OBJS) $(OBJS) $(LIBS) $(CC) $(CFLAGS) $^ -o $@ -T$(BOOTLOADER_LDSCRIPT) -g -Wl,-Map=$*.map $(OBJCOPY) -O ihex $*.elf $*.hex $(OBJCOPY) -O binary $*.elf $*.bin |