Skip to content

Commit e641463

Browse files
committed
fixup! multi_image: d
Signed-off-by: Håkon Øye Amundsen <[email protected]>
1 parent a157bec commit e641463

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

samples/subsys/ipc/ipm_mcux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ ExternalProject_Add(
2424
project(ipm_mcux)
2525

2626
target_sources(app PRIVATE src/main_master.c)
27-
add_dependencies(core_m0_inc_target ipm_mcux_remote)
27+
add_dependencies(${IMAGE}core_m0_inc_target ipm_mcux_remote)

samples/subsys/ipc/openamp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ ExternalProject_Add(
2525
BUILD_BYPRODUCTS "${CMAKE_CURRENT_BINARY_DIR}/openamp_remote-prefix/src/openamp_remote-build/zephyr/zephyr.bin"
2626
# NB: Do we need to pass on more CMake variables?
2727
)
28-
add_dependencies(core_m0_inc_target openamp_remote)
28+
add_dependencies(${IMAGE}core_m0_inc_target openamp_remote)
2929

3030
target_include_directories(app PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

soc/arm/nxp_lpc/lpc54xxx/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ if (CONFIG_SLAVE_CORE_MCUX)
1111
set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
1212
string(CONFIGURE ${CONFIG_SLAVE_IMAGE_MCUX} core_m0_image)
1313

14-
add_custom_target(core_m0_inc_target DEPENDS ${gen_dir}/core-m0.inc)
14+
add_custom_target(${IMAGE}core_m0_inc_target DEPENDS ${gen_dir}/core-m0.inc)
1515

1616
generate_inc_file_for_gen_target(${ZEPHYR_CURRENT_LIBRARY}
1717
${core_m0_image}
1818
${gen_dir}/core-m0.inc
19-
core_m0_inc_target)
19+
${IMAGE}core_m0_inc_target)
2020
endif()

0 commit comments

Comments
 (0)