diff --git a/cmd/log_mgmt/CMakeLists.txt b/cmd/log_mgmt/CMakeLists.txt index 2f90df92..17784f76 100644 --- a/cmd/log_mgmt/CMakeLists.txt +++ b/cmd/log_mgmt/CMakeLists.txt @@ -21,8 +21,8 @@ target_include_directories(MCUMGR INTERFACE ) zephyr_library_sources( - cmd/log_mgmt/port/zephyr/src/zephyr_log_mgmt.c - cmd/log_mgmt/src/log_mgmt.c - cmd/log_mgmt/src/stubs.c + port/zephyr/src/zephyr_log_mgmt.c + src/log_mgmt.c + src/stubs.c ) -endif +endif() diff --git a/samples/smp_svr/zephyr/prj.conf b/samples/smp_svr/zephyr/prj.conf index fe7fdcd0..c87a7f5c 100644 --- a/samples/smp_svr/zephyr/prj.conf +++ b/samples/smp_svr/zephyr/prj.conf @@ -36,3 +36,4 @@ CONFIG_MCUMGR_CMD_FS_MGMT=y CONFIG_MCUMGR_CMD_IMG_MGMT=y CONFIG_MCUMGR_CMD_OS_MGMT=y CONFIG_MCUMGR_CMD_STAT_MGMT=y +CONFIG_MCUMGR_CMD_LOG_MGMT=y