cmake/zephyr: unify cmake rules for lib, probes and... #9931
Merged
kv2019i merged 6 commits intothesofproject:mainfrom Apr 3, 2025
Merged
cmake/zephyr: unify cmake rules for lib, probes and... #9931kv2019i merged 6 commits intothesofproject:mainfrom
kv2019i merged 6 commits intothesofproject:mainfrom
Conversation
Collaborator
Author
|
zephyr/CMakeLists.txt is under 550 lines with this patch, versus 1213 lines in v2.12 release. There's still more cleanup that can be done, but the major software components are now moved. |
Collaborator
Author
|
Ok, multiple fails on IDC patch: /zep_workspace/sof/src/ipc/ipc-common.c:74: undefined reference to Will fallback to more conservative approach and not try to unify XTOS/Zephyr rules (for idc), but instead forklift them as they are for this PR. |
lyakh
approved these changes
Mar 28, 2025
Adding all source files in a single, giant zephyr/CMakeLists.txt is inconvenient and does not scale. Modify Zephyr rules to use definitions in src/lib/ instead. Link: thesofproject#8260 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Adding all source files in a single, giant zephyr/CMakeLists.txt is inconvenient and does not scale. Modify Zephyr rules to use definitions in src/library_manager/ instead. Link: thesofproject#8260 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Adding all source files in a single, giant zephyr/CMakeLists.txt is inconvenient and does not scale. Modify Zephyr rules to use definitions in src/trace/ instead. Link: thesofproject#8260 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Adding all source files in a single, giant zephyr/CMakeLists.txt is inconvenient and does not scale. Modify Zephyr rules to use definitions in src/logging/ instead. Link: thesofproject#8260 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Adding all source files in a single, giant zephyr/CMakeLists.txt is inconvenient and does not scale. Modify Zephyr rules to use definitions in src/samples/ instead. Link: thesofproject#8260 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Adding all source files in a single, giant zephyr/CMakeLists.txt is inconvenient and does not scale. Modify Zephyr rules to use definitions in src/probe/ instead. Link: thesofproject#8260 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
7a02e76 to
940e1c3
Compare
Collaborator
Author
|
New version pushed:
|
lgirdwood
approved these changes
Apr 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Last set of Zephyr cmake changes. This has all the commits from #9918. The gdb rule change is not included as @lyakh has those in #9907 .
UPDATE: #9918 and #9907 merged, so dependencies are all in main