commit | 19cb44bab7e034527c742a05fa97c2a9f5b8798d | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Mon Dec 21 07:01:45 2020 -0600 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Sun Dec 27 18:18:52 2020 +0100 |
tree | d1cbaef9f2ac117b79e35ba3e89c08b369756358 | |
parent | 187697c2d7460367d7133acaaacd0e14663f625b [diff] |
kernel: idle: fix builds with PM but no system clock PM depends on SYS_CLOCK_EXISTS in Kconfig but several boards have Kconfig overrides that allow the dependency to be ignored, so CONFIG_PM=y even though CONFIG_SYS_CLOCK_EXISTS=n. Fix the code so that the true dependency is reflected in the generated code. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>