Skip to content

Commit 0f79114

Browse files
committed
[nrf noup] cmake: multiimage: zephyr_library_amend feature
This commits adds ${IMAGE} in order to support multiimage in the amend feature. Signed-off-by: Torsten Rasmussen <[email protected]>
1 parent b5840e4 commit 0f79114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/extensions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ macro(zephyr_library_amend)
441441

442442
zephyr_library_get_current_dir_lib_name(${ZEPHYR_CURRENT_MODULE_DIR} lib_name)
443443

444-
set(ZEPHYR_CURRENT_LIBRARY ${lib_name})
444+
set(ZEPHYR_CURRENT_LIBRARY ${IMAGE}${lib_name})
445445
endmacro()
446446

447447
function(zephyr_link_interface interface)

0 commit comments

Comments
 (0)