power: move reboot.c to subsys/power

One of the few last files in misc/. It fits better under subsys/power.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-01-19 07:00:48 -05:00
parent db92e5c66e
commit feadb532e3
4 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1 @@
zephyr_sources_if_kconfig(printk.c)
zephyr_sources_if_kconfig(reboot.c)

View file

@ -14,6 +14,6 @@ add_subdirectory_ifdef(CONFIG_USB usb)
add_subdirectory(random)
add_subdirectory(storage)
add_subdirectory_ifdef(CONFIG_SETTINGS settings)
add_subdirectory_ifdef(CONFIG_PM_CONTROL_OS power)
add_subdirectory(fb)
add_subdirectory(power)
add_subdirectory(stats)

View file

@ -1,6 +1,7 @@
zephyr_sources(
zephyr_sources_ifdef(CONFIG_PM_CONTROL_OS
power.c
device.c
)
zephyr_sources_ifdef(CONFIG_PM_CONTROL_STATE_LOCK pm_ctrl.c)
add_subdirectory(policy)
add_subdirectory_ifdef(CONFIG_PM_CONTROL_OS policy)
zephyr_sources_if_kconfig(reboot.c)