riotboot: don't select periph_pm

This commit is contained in:
Benjamin Valentin 2021-01-27 14:16:17 +01:00
parent f12a82e4f9
commit 00289b08a4

View File

@ -86,8 +86,11 @@ endif
# always select gpio (until explicit dependencies are sorted out) # always select gpio (until explicit dependencies are sorted out)
FEATURES_OPTIONAL += periph_gpio FEATURES_OPTIONAL += periph_gpio
# always select power management if available # always select power management unless building the bootloader
FEATURES_OPTIONAL += periph_pm # pm is not needed by the bootloader and omitting it saves some ROM
ifneq (1, $(RIOTBOOT_BUILD))
FEATURES_OPTIONAL += periph_pm
endif
# always select provided architecture features # always select provided architecture features
FEATURES_REQUIRED += $(filter arch_%,$(FEATURES_PROVIDED)) FEATURES_REQUIRED += $(filter arch_%,$(FEATURES_PROVIDED))