-
Notifications
You must be signed in to change notification settings - Fork 349
cmake/zephyr: unify cmake rules for lib, probes and... #9931
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
cmake/zephyr: unify cmake rules for lib, probes and... #9931
Conversation
|
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. |
|
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. |
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
|
New version pushed:
|
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