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:
parent
1259a89acf
commit
ef864bba39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user