Skip to content

Commit 8e765b7

Browse files
pillo79kartben
authored andcommitted
cmake: add_llext_target: fix command expansion
This fixes the invocation of the 'elfconvert' and 'slid_inject' commands in the `add_llext_target` function by ensuring that the arguments are expanded correctly before passing them to the shell. Signed-off-by: Luca Burelli <[email protected]>
1 parent b6766ae commit 8e765b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/extensions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5960,6 +5960,7 @@ function(add_llext_target target_name)
59605960
$<TARGET_PROPERTY:bintools,elfconvert_flag_final>
59615961
COMMAND ${slid_inject_cmd}
59625962
DEPENDS ${llext_proc_target} ${llext_pkg_input}
5963+
COMMAND_EXPAND_LISTS
59635964
)
59645965

59655966
# Add user-visible target and dependency, and fill in properties

0 commit comments

Comments
 (0)