s5j/pm: fix invalid build rule on PM
authorHeesub Shin <heesub.shin@samsung.com>
Thu, 13 Jul 2017 04:36:21 +0000 (13:36 +0900)
committersunghan <sh924.chang@samsung.com>
Wed, 20 Sep 2017 05:39:18 +0000 (14:39 +0900)
s5j_pm*.c should be included when CONFIG_PM=y, not
CONFIG_ARCH_CUSTOM_PMINIT.

Change-Id: I14ff07bf542c8e8e3a1c73b26328558a51f50ac2
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/s5j/Make.defs

index a9fc5f6..2f04b9f 100644 (file)
@@ -163,7 +163,7 @@ ifeq ($(CONFIG_S5J_SFLASH),y)
 CHIP_CSRCS += s5j_sflash.c
 endif
 
-ifeq ($(CONFIG_ARCH_CUSTOM_PMINIT),y)
+ifeq ($(CONFIG_PM),y)
 CHIP_CSRCS += s5j_pminitialize.c
 CHIP_CSRCS += s5j_pmstandby.c s5j_pmstop.c
 endif