-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLEXT: build libraries #9702
base: main
Are you sure you want to change the base?
LLEXT: build libraries #9702
Conversation
Update to a Zephyr version, supporting LLEXT_FORCE_ALL_MODULAR building Signed-off-by: Guennadi Liakhovetski <[email protected]>
Can be reviewed but shouldn't be merged yet because of a zephyrproject-rtos/zephyr#82735 Zephyr dependency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - let get the Zephyr part merged first.
one more change that has to be done before merging: actually only PTL should be converted to library style so far, convert it back to draft to really avoid accidental merge |
Add a parameter to sof_llext_build() to support adding modules to libraries. Specifying a LIB parameter in that function with a single value adds that module to a library with that name if packing modules into libraries is enabled. Signed-off-by: Guennadi Liakhovetski <[email protected]>
c2e94c9
to
d06a770
Compare
Add a FORCE_ALL_MODULES macro to mtl.toml.h. When this header is then preprocessed with that macro defined, all module TOML files will be included. This then can be used to generate module libraries, which we also enable in this patch. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Detached sections are allowed to overlap, their addresses won't be used at run-time. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Add all supported modules to the main SOF library, loaded by default at boot-time. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Build libraries of modules, as specified in their cmake files. Signed-off-by: Guennadi Liakhovetski <[email protected]>
Extends #9688 with library build support. Needs zephyrproject-rtos/zephyr#82443