riotboot: don't select periph_pm
This commit is contained in:
parent
f12a82e4f9
commit
00289b08a4
@ -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
|
||||||
|
# pm is not needed by the bootloader and omitting it saves some ROM
|
||||||
|
ifneq (1, $(RIOTBOOT_BUILD))
|
||||||
FEATURES_OPTIONAL += periph_pm
|
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))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user