From 59b9a646cd17662e3e7cc9c7453ab439223fdc16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 6 Feb 2017 17:40:10 +0100 Subject: [PATCH] fix making libopencm3 --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5ab69dc..5985440 100644 --- a/Makefile +++ b/Makefile @@ -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)