Skip to content

template module: fix llext build and enable for nvl as well - #11121

Open
ujfalusi wants to merge 2 commits into
thesofproject:mainfrom
ujfalusi:peter/pr/template-nvl
Open

template module: fix llext build and enable for nvl as well#11121
ujfalusi wants to merge 2 commits into
thesofproject:mainfrom
ujfalusi:peter/pr/template-nvl

Conversation

@ujfalusi

Copy link
Copy Markdown
Contributor

The rename from template_comp left the llext build of the module failing.
Enable it for NVL as well.

ce50845 ("template: rename template_comp to template")
renamed the template_comp to simply template, but left the llext
CMakeList.txt and llext.toml.h referencing to wrong names.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Follow mtl/lnl/ptl/wcl and allow the template to be built.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Copilot AI lite review requested due to automatic review settings August 25, 2026 08:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the LLEXT build for the template audio module after the module rename, and enables the template module for NVL rimage configurations as well.

Changes:

  • Fix template LLEXT build by updating the LLEXT TOML include to the renamed template.toml.
  • Rename the LLEXT build target from template_comp to template to match the expected target/dependency name.
  • Enable inclusion of audio/template/template.toml in the NVL rimage config when CONFIG_COMP_TEMPLATE is enabled.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tools/rimage/config/nvl.toml.h Enables the template module in NVL rimage config via conditional include.
src/audio/template/llext/llext.toml.h Updates LLEXT config include to ../template.toml (post-rename).
src/audio/template/llext/CMakeLists.txt Renames the LLEXT build target to template to align with build dependencies.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants