Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thesofproject/sof-topologies
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: thesofproject/sof-topologies
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/west-sof-discovery
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Nov 21, 2026

  1. cmake, scripts, west: Auto-discover SOF checkout and ALSA tools via west

    Enable `sof-topologies` to resolve the matching `sof` checkout and
    workspace ALSA toolchain automatically when used inside a `west`
    workspace (`west init -l sof`), while preserving standalone builds:
    
    - `CMakeLists.txt`: Resolve `SOF_ROOT_SOURCE_DIRECTORY` via
      `SOF_SRC_DIR`, `SOF_ROOT`, `west list -f "{abspath}" sof`, or `../sof`
      so in-workspace builds compile against `sof/src/include/kernel/abi.h`
      and standalone builds fall back to local `include/kernel/abi.h`.
    - `cmake/alsatplg.cmake` & `scripts/build-alsa-tools.sh`: Check
      `west topdir` for `<west_top>/tools/bin/alsatplg` and `BASE_DIR`.
    - `scripts/build-topology.sh`: Resolve `sof` via `west list` in
      `sync_compat_links()`.
    - `west.yml`: Document standalone `west init -l sof-topologies` update
      conventions and the `alsa-lib`/`alsa-utils` import from `sof/west.yml`.
    
    Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
    lrgirdwo committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    00f39ed View commit details
    Browse the repository at this point in the history
Loading