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

makefiles/features_modules.inc.mk: add periph_rtc_rtt to init ignore

This commit is contained in:
Francisco Molina 2021-09-27 10:21:36 +02:00
parent e312155f30
commit 8e675cd64f

View File

@ -11,7 +11,12 @@ USEMODULE += $(PERIPH_FEATURES)
# Add all USED periph_% init modules unless they are blacklisted
ifneq (,$(filter periph_init, $(USEMODULE)))
PERIPH_MODULES := $(filter-out periph_init% periph_common,\
PERIPH_IGNORE_MODULES := \
periph_init% \
periph_common \
periph_rtc_rtt \
#
PERIPH_MODULES := $(filter-out $(PERIPH_IGNORE_MODULES),\
$(filter periph_%,$(USEMODULE)))
# Use simple expansion to avoid USEMODULE referencing itself
PERIPH_INIT_MODULES := $(subst periph_,periph_init_,$(PERIPH_MODULES))