mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
b5197db03f
DEFAULT_MODULEs declared in defaultmodules_regular.inc.mk MAY only be disabled at APPLICATION level or in BOARD/CPU Makefile.default. These modules MAY have complex dependencies themselfs. DEFAULT_MODULEs declared in defaultmodules_no_recursive_deps.inc.mk MAY be disabled during dependency resolution. The MUST only have dependencies against modules with no dependencies themselfs, and these dependencies must be defined in makefiles/defaultmodules._deps.inc.mk
26 lines
678 B
Makefile
26 lines
678 B
Makefile
# This files contains dependencies for default modules. They are parsed at the
|
|
# end of the dependency loop. They MAY inlcude new modules, but this modules
|
|
# MUST NOT have dependencies themselfs.
|
|
|
|
ifneq (,$(filter auto_init_ztimer,$(USEMODULE)))
|
|
USEMODULE += ztimer_init
|
|
endif
|
|
|
|
ifneq (,$(filter ztimer_auto_adjust,$(USEMODULE)))
|
|
USEMODULE += ztimer_overhead
|
|
endif
|
|
|
|
ifneq (,$(filter auto_init_saul,$(USEMODULE)))
|
|
USEMODULE += saul_init_devs
|
|
endif
|
|
|
|
ifneq (,$(filter auto_init_libcose_crypt,$(USEMODULE)))
|
|
USEMODULE += libcose_crypt_init
|
|
endif
|
|
|
|
ifneq (,$(filter xtimer,$(USEMODULE)))
|
|
ifeq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
|
USEMODULE += div
|
|
endif
|
|
endif
|