soc: arm: ti_simplelink: cc13x2_cc26x2: compile power.c if PM_DEVICE=y
power.c contains some struct definitions required by the HAL when using PM_DEVICE. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
05fe627d79
commit
4747218837
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
zephyr_sources(soc.c)
|
||||
zephyr_sources(ccfg.c)
|
||||
|
||||
if(CONFIG_PM OR CONFIG_POWEROFF)
|
||||
if(CONFIG_PM OR CONFIG_PM_DEVICE OR CONFIG_POWEROFF)
|
||||
zephyr_library_sources(power.c)
|
||||
endif()
|
||||
zephyr_library_sources_ifdef(CONFIG_POWEROFF poweroff.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue