1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

Makefile.dep: auto_init_% as DEFAULT_MODULES

Having the modules as DEFAULT_MODULES allows disabling them.
This commit is contained in:
Francisco Molina 2020-01-11 10:02:19 +01:00
parent e446920cd2
commit 7bfb855a86
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8
3 changed files with 6 additions and 4 deletions

View File

@ -703,9 +703,10 @@ ifneq (,$(filter saul_reg,$(USEMODULE)))
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
DEFAULT_MODULE += auto_init_saul
USEMODULE += saul
USEMODULE += saul_reg
USEMODULE += auto_init_saul
DEFAULT_MODULE += auto_init_saul
endif
ifneq (,$(filter saul_adc,$(USEMODULE)))
@ -737,8 +738,9 @@ ifneq (,$(filter can_linux,$(USEMODULE)))
endif
ifneq (,$(filter can,$(USEMODULE)))
DEFAULT_MODULE += auto_init_can
USEMODULE += can_raw
USEMODULE += auto_init_can
DEFAULT_MODULE += auto_init_can
ifneq (,$(filter can_mbox,$(USEMODULE)))
USEMODULE += core_mbox
endif

View File

@ -1,4 +1,4 @@
USEMODULE += xtimer
FEATURES_REQUIRED += periph_i2c
USEMODULE += auto_init_security
DEFAULT_MODULE += auto_init_security
USEMODULE += cryptoauthlib_contrib

View File

@ -1,5 +1,5 @@
USEMODULE += fatfs_diskio_mtd
USEMODULE += auto_init_storage
DEFAULT_MODULE += auto_init_storage
USEMODULE += mtd
# Use RTC for timestamps if available