Skip to content

[FEATURE/BUG] method to express llext module link dependencies to other lletx modules #9941

@kv2019i

Description

@kv2019i

Is your feature request related to a problem? Please describe.
Currently llext modules need to be added to build linkage in order of dependecies. With cmake rules distributed into multiple directories, this is a very brittle system and errors are not seen seen at build time (as the dependencies are resolved at runtime).

This request stems from #9912 and commit 9dfc213

To make modules using (loadable) math modules work, the math modules need to be introducted in build first.

Describe the solution you'd like
Some cmake tool to declare dependencies. Either different lists of auxiliary moduless (that always get added first), or a runtime solution (some method to load the dependencies first, and only then proceed with dependents).

Describe alternatives you've considered

Additional context
#9912 discussions

Metadata

Metadata

Assignees

Labels

P2Critical bugs or normal featuresZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expectedenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions