diff --git a/board/build.mk b/board/build.mk index 926a9a34c8..311f2dcdbd 100644 --- a/board/build.mk +++ b/board/build.mk @@ -55,7 +55,7 @@ obj/$(PROJ_NAME).bin: obj/$(STARTUP_FILE).o obj/main.$(PROJ_NAME).o obj/bootstub.$(PROJ_NAME).bin: obj/$(STARTUP_FILE).o obj/bootstub.$(PROJ_NAME).o obj/sha.$(PROJ_NAME).o obj/rsa.$(PROJ_NAME).o - $(CC) $(CFLAGS) -o obj/bootstub.$(PROJ_NAME).elf $^ + $(CC) $(CFLAGS) -o obj/bootstub.$(PROJ_NAME).elf $^ -lgcc $(OBJCOPY) -v -O binary obj/bootstub.$(PROJ_NAME).elf $@ clean: