build: Only build the locm3 libraries needed.

We don't need to build all the locm3 libraries. We just need those that
are required by the supported platforms.
This commit is contained in:
Piotr Esden-Tempski 2022-03-15 13:33:51 -07:00
parent 488df7e6f7
commit d259d5c511
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ ifndef NO_LIBOPENCM3
git submodule init ;\ git submodule init ;\
git submodule update ;\ git submodule update ;\
fi fi
$(Q)$(MAKE) $(MFLAGS) -C libopencm3 lib $(Q)$(MAKE) $(MFLAGS) -C libopencm3 lib/stm32/f1 lib/stm32/f4 lib/lm4f
endif endif
$(Q)$(MAKE) $(MFLAGS) -C src $(Q)$(MAKE) $(MFLAGS) -C src