1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/stm32: only build bootloader when the module is loaded

This commit is contained in:
Alexandre Abadie 2020-09-28 19:47:41 +02:00
parent 1259a89acf
commit ef864bba39
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,5 +1,9 @@
MODULE = cpu
DIRS = $(RIOTCPU)/cortexm_common periph stmclk vectors bootloader
DIRS = $(RIOTCPU)/cortexm_common periph stmclk vectors
ifneq (,$(filter bootloader_stm32,$(USEMODULE)))
DIRS += bootloader
endif
include $(RIOTBASE)/Makefile.base