zephyr/tests/subsys/llext/simple
Luca Burelli 313c09bffb llext: add support for build time custom commands
This patch adds support for custom commands to be executed during the
build of an llext target. The commands can be executed at different
points in the build process:

 - PRE_BUILD:  Before the llext code is linked.
 - POST_BUILD: After the llext code is built, but before packaging
	       it in an .llext file.
 - POST_PKG:   After the llext file has been created.

Note that PRE_BUILD is not supported for ARM targets, as in that case
object files are used directly and there is no actual linking step.

The commands can be added using the new add_llext_command() function.
An example usage of it, along with some target properties, is added to
the hello_world test case.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-04-08 09:04:32 +02:00
..
src llext: add threads and kernel object test case 2024-04-05 12:19:36 +02:00
CMakeLists.txt llext: add support for build time custom commands 2024-04-08 09:04:32 +02:00
Kconfig llext: Rework hello_world test case to be "simple" 2024-03-09 14:44:23 +00:00
prj.conf tests/subsys/llext: Add syscall tests 2024-03-26 19:31:56 -04:00
testcase.yaml tests: llext: compile architectures not supported yet 2024-03-18 20:50:01 -05:00