-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llext: add custom post-processing step
This commit adds a new POSTPROC_CMD argument to the add_llext_target() macro. This argument allows the user to specify a command to run on the generated llext file after compilation and before stripping. This is useful for post-processing the llext file in some way, such as adjusting the addresses of certain symbols. The post processor will be invoked by CMake as: <POSTPROC_CMD> <input_file> <output_file> <POSTPROC_ARGS> POSTPROC_ARGS can also use generator expressions that refer to the "${target_name}_lib" target to get additional flags. Signed-off-by: Luca Burelli <[email protected]>
- Loading branch information
Showing
1 changed file
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters