-
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: make src, asrc, volume, eq_fir and tdfb modular #9430
Changes from 1 commit
06e4723
ad4a98c
ed7bdd6
e026a32
ae44a67
de5f952
5dce87d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
CONFIG_SAMPLE_SMART_AMP=m | ||
CONFIG_COMP_MIXIN_MIXOUT=m | ||
CONFIG_COMP_IIR=m | ||
CONFIG_SAMPLE_SMART_AMP=m | ||
CONFIG_COMP_DRC=m | ||
CONFIG_COMP_SRC=m |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ CONFIG_SAMPLE_SMART_AMP=m | |
CONFIG_COMP_MIXIN_MIXOUT=m | ||
CONFIG_COMP_IIR=m | ||
CONFIG_COMP_DRC=m | ||
CONFIG_COMP_SRC=m |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) 2024 Intel Corporation. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Btw, any reason why this is not mart of the src makefile ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lgirdwood which one? If you mean https://github.com/thesofproject/sof/blob/main/src/audio/src/CMakeLists.txt then it isn't used in Zephyr builds, (most) audio sources are still built from https://github.com/thesofproject/sof/blob/main/zephyr/CMakeLists.txt Once we change that to use per-component cmake scripts, then yes, I think it should be possible to keep both monolithic and modular instructions in the same file. But I'd have to try to know for sure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, so we need to circle back to this later when ready. |
||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if(CONFIG_COMP_SRC_LITE) | ||
sof_llext_build("src" | ||
SOURCES ../src_hifi2ep.c | ||
../src_generic.c | ||
../src_hifi3.c | ||
../src_hifi4.c | ||
../src.c | ||
../src_common.c | ||
../src_ipc4.c | ||
../src_lite.c | ||
) | ||
else() | ||
sof_llext_build("src" | ||
SOURCES ../src_hifi2ep.c | ||
../src_generic.c | ||
../src_hifi3.c | ||
../src_hifi4.c | ||
../src.c | ||
../src_common.c | ||
../src_ipc4.c | ||
) | ||
endif() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include <tools/rimage/config/platform.toml> | ||
#define LOAD_TYPE "2" | ||
#include "../src.toml" | ||
|
||
[module] | ||
count = __COUNTER__ |
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.
Why remove this? Seems like a no-op now (given current default), but seems out of place in this commit.
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.
@kv2019i yeah, well, it's all SRC... But if you don't want it there, can drop. It just makes it better prepared for an eventual default-M transition