Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topology2: ONLY merge avs-tplg/ and sof-ace-tplg/ under production/
Main branch commit 65e4c1f ("topology2: Merge avs-tplg and sof-ace-tplg under production directory") did way too many things in the same commit. It should have been split into 2 or 3 different commits. Renaming and splitting a file in the same commit is almost never a good idea. Making actual coding changes at the same time adds insult to injury: it makes these changes almost impossible to spot in the git diff. When you add the usual "stable versus main" branch divergence on top, it all compounds to make a backport incredibly complex, time-consuming and error-prone. So this backport to stable-v2.8 does NOT do all those things at once. It does only the MINIMUM to achieve the "merge of avs-tplg/ and sof-ace-tplg/ under production/" and that's it. When a file is renamed, it _only_ renames that file - as should have been done in the original pull request. All other changes from that original commit are dropped and should be manually cherry-picked to stable-v2.8 if desired or wanted as a dependency and foundation for further backports. -------- original commit message for reference ------- Merge the avs-tplg and sof-ace-tplg under a common production directory. After a successful build CMake will copy the topology files to a target directory from where they can be copied to DUT/release: $ tree tools/build_tools/topology/topology2/target tools/build_tools/topology/topology2/target ├── development │ ├── cavs-sdw-hdmi.tplg │ ├── cavs-sdw-src-gain-mixin.tplg ... │ ├── sof-tgl-nocodec-rtcaec.tplg │ └── sof-tgl-nocodec.tplg ├── sof-ace-tplg -> sof-ipc4-tplg └── sof-ipc4-tplg ├── sof-adl-rt711-4ch.tplg ├── sof-adl-rt711-l0-rt1316-l12-rt714-l3.tplg ... ├── sof-tgl-rt712.tplg └── sof-tgl-rt715-rt711-rt1308-mono.tplg As noted in the documentation, on the deployed system a symlink is needed for ACE1/2 platforms for backwards compatibility: sof-ace-tplg -> sof-ipc4-tplg Link: https://github.com/thesofproject/sof-docs/blob/master/getting_started/intel_debug/introduction.rst#2-topology-file ------------------ For reference, here's the part of the original commit which is NOT backported here: The sof-hda-generic-2/4ch.tplg will be generated without embedded NHLT as it is not used under normal circumstance. Two flavor of the generic topology is generated for CAVS2.5 and ACE1/2 with included NHLT binary in case it is used by existing users, but it is unlikely. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> (cherry picked from commit 65e4c1f)
- Loading branch information