diff --git a/CMakeLists.txt b/CMakeLists.txt index 2be9b44319b19c..5ec15dd169c985 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1029,7 +1029,7 @@ if(CONFIG_CPU_HAS_MPU AND CONFIG_USERSPACE) add_custom_target( ${APP_SMEM_DEP} ALL DEPENDS app - DEPENDS ${ALIGN_SIZING_DEP} + kernel ) add_custom_command( @@ -1057,6 +1057,7 @@ if(CONFIG_CPU_HAS_MPU AND CONFIG_USERSPACE) DEPENDS linker_app_sizing.cmd offsets_h + ${APP_SMEM_DEP} ) set_property(TARGET