fix making libopencm3

This commit is contained in:
King Kévin 2017-02-06 17:40:10 +01:00
parent c76abae464
commit 59b9a646cd
1 changed files with 1 additions and 4 deletions

View File

@ -204,12 +204,9 @@ clean:
# make libopencm3 if library for STM32F1 is not yet existing
$(OPENCM3_LIB)/lib$(STM32F1_LIB).a:
$(info compiling libopencm3 library)
$(Q)$(MAKE) -C $(OPENCM3_DIR)
# ensure opencm3 has been downloaded and compiled
$(LDSCRIPT):
git submodule init
git submodule update
$(Q)$(MAKE) -C $(OPENCM3_DIR)
flash: $(BINARY).hex
$(info flashing $(<) using SWD)