From 8e765b78a2ad2d07ee693f2f28217e37b8f084ce Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Sat, 31 May 2025 17:52:19 +0200 Subject: [PATCH] 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 --- cmake/modules/extensions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/extensions.cmake b/cmake/modules/extensions.cmake index d87f02f191f..4bb2d69cb9a 100644 --- a/cmake/modules/extensions.cmake +++ b/cmake/modules/extensions.cmake @@ -5960,6 +5960,7 @@ function(add_llext_target target_name) $ COMMAND ${slid_inject_cmd} DEPENDS ${llext_proc_target} ${llext_pkg_input} + COMMAND_EXPAND_LISTS ) # Add user-visible target and dependency, and fill in properties