-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
ZephyrIssues only observed with Zephyr integratedIssues only observed with Zephyr integratedenhancementNew feature or requestNew feature or request
Milestone
Description
Is your feature request related to a problem? Please describe.
When a software module is added to SOF that can be used both in XTOs and in Zephyr builds, the module sources need to be added to CMake rules twice:
- first in sof/src/foo/CMakeLists.txt (for XTOS), and
- second time to sof/zephyr/CMakeLists.txt (for Zephyr)
This split of Cmake rules dates back to the time when Zephyr support was introduced and codebase was not cleanly split between operating systems. Now we have a cleaner split at top-level source directories, so it should be possible to start cleaning up this overlap in definitions.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Platforms where transition to Zephyr is still in progress might cause some extra challenges to doing this makefile cleanup. E.g. see XTOS-only a
Metadata
Metadata
Assignees
Labels
ZephyrIssues only observed with Zephyr integratedIssues only observed with Zephyr integratedenhancementNew feature or requestNew feature or request