mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/esp32: compile riot_freertos only if required
This commit is contained in:
parent
1b041083ab
commit
d2de4858e2
@ -4,7 +4,6 @@ MODULE = cpu
|
||||
# Add a list of subdirectories, that should also be built:
|
||||
DIRS += $(RIOTCPU)/esp_common
|
||||
DIRS += periph
|
||||
DIRS += freertos
|
||||
DIRS += vendor
|
||||
|
||||
ifneq (, $(filter esp_can, $(USEMODULE)))
|
||||
@ -19,4 +18,8 @@ ifneq (, $(filter esp_wifi, $(USEMODULE)))
|
||||
DIRS += esp-wifi
|
||||
endif
|
||||
|
||||
ifneq (, $(filter riot_freertos, $(USEMODULE)))
|
||||
DIRS += freertos
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
Loading…
Reference in New Issue
Block a user