diff --git a/applications/machine_learning/sysbuild.cmake b/applications/machine_learning/sysbuild.cmake index 6e92f204135e..dbe3aac7d458 100644 --- a/applications/machine_learning/sysbuild.cmake +++ b/applications/machine_learning/sysbuild.cmake @@ -31,8 +31,8 @@ if(SB_CONFIG_PARTITION_MANAGER) endif() # Add a dependency so that the remote image will be built first. -sysbuild_add_dependencies(CONFIGURE machine_learning ipc_radio remote) +sysbuild_add_dependencies(CONFIGURE ${DEFAULT_IMAGE} ipc_radio remote) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH machine_learning ipc_radio remote) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} ipc_radio remote) endif() diff --git a/samples/caf_sensor_manager/sysbuild.cmake b/samples/caf_sensor_manager/sysbuild.cmake index cdeeb40eea98..29c550bdabb7 100644 --- a/samples/caf_sensor_manager/sysbuild.cmake +++ b/samples/caf_sensor_manager/sysbuild.cmake @@ -33,6 +33,6 @@ if(SB_CONFIG_PARTITION_MANAGER) endif() # Add a dependency so that the remote sample will be built and flashed first -sysbuild_add_dependencies(CONFIGURE caf_sensor_manager remote) +sysbuild_add_dependencies(CONFIGURE ${DEFAULT_IMAGE} remote) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH caf_sensor_manager remote) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote) diff --git a/samples/event_manager_proxy/sysbuild.cmake b/samples/event_manager_proxy/sysbuild.cmake index 68127dada23b..ab6939cf2395 100644 --- a/samples/event_manager_proxy/sysbuild.cmake +++ b/samples/event_manager_proxy/sysbuild.cmake @@ -24,6 +24,6 @@ set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET remote) set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "") # Add a dependency so that the remote sample will be built and flashed first -sysbuild_add_dependencies(CONFIGURE event_manager_proxy remote) +sysbuild_add_dependencies(CONFIGURE ${DEFAULT_IMAGE} remote) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH event_manager_proxy remote) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote) diff --git a/samples/ipc/ipc_service/sysbuild.cmake b/samples/ipc/ipc_service/sysbuild.cmake index 8826ea9426a2..329ae93115e1 100644 --- a/samples/ipc/ipc_service/sysbuild.cmake +++ b/samples/ipc/ipc_service/sysbuild.cmake @@ -21,6 +21,6 @@ set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET remote) set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "") # Add a dependency so that the remote sample will be built and flashed first -sysbuild_add_dependencies(CONFIGURE ipc_service remote) +sysbuild_add_dependencies(CONFIGURE ${DEFAULT_IMAGE} remote) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH ipc_service remote) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote) diff --git a/tests/benchmarks/multicore/idle/sysbuild.cmake b/tests/benchmarks/multicore/idle/sysbuild.cmake index 6cf8d44d6540..d2b7f799eaac 100644 --- a/tests/benchmarks/multicore/idle/sysbuild.cmake +++ b/tests/benchmarks/multicore/idle/sysbuild.cmake @@ -21,6 +21,6 @@ set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET remote) set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "") # Add a dependency so that the remote image will be built and flashed first -add_dependencies(idle remote) +add_dependencies(${DEFAULT_IMAGE} remote) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH idle remote) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote) diff --git a/tests/subsys/event_manager_proxy/sysbuild.cmake b/tests/subsys/event_manager_proxy/sysbuild.cmake index b4c70b58d9f9..4fe0fe01df5c 100644 --- a/tests/subsys/event_manager_proxy/sysbuild.cmake +++ b/tests/subsys/event_manager_proxy/sysbuild.cmake @@ -21,6 +21,6 @@ set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET remote) set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "") # Add a dependency so that the remote sample will be built and flashed first -add_dependencies(event_manager_proxy remote) +add_dependencies(${DEFAULT_IMAGE} remote) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH event_manager_proxy remote) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote) diff --git a/tests/subsys/pcd/sysbuild.cmake b/tests/subsys/pcd/sysbuild.cmake index 6dcb8629f9c6..74ae0ea3119d 100644 --- a/tests/subsys/pcd/sysbuild.cmake +++ b/tests/subsys/pcd/sysbuild.cmake @@ -21,6 +21,6 @@ set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET hello_world) set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION hello_world CACHE INTERNAL "") # Add a dependency so that the remote sample will be built and flashed first -add_dependencies(pcd hello_world) +add_dependencies(${DEFAULT_IMAGE} hello_world) # Add dependency so that the remote image is flashed first. -sysbuild_add_dependencies(FLASH pcd hello_world) +sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} hello_world)