summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r--nuttx/arch/arm/src/stm32/Make.defs3
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs
index cae6bfc57..cff2546ee 100644
--- a/nuttx/arch/arm/src/stm32/Make.defs
+++ b/nuttx/arch/arm/src/stm32/Make.defs
@@ -85,11 +85,10 @@ CHIP_CSRCS += stm32_idle.c
endif
CHIP_CSRCS += stm32_pmstop.c stm32_pmstandby.c
-ifeq ($(CONFIG_PM),y)
+
ifneq ($(CONFIG_PM_CUSTOMINIT),y)
CHIP_CSRCS += stm32_pminitialize.c
endif
-endif
ifeq ($(CONFIG_STM32_ETHMAC),y)
CHIP_CSRCS += stm32_eth.c