Skip to content

Commit 81846f2

Browse files
committed
Fix alsa and topology building
This is to make tplg building work Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 046da6f commit 81846f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build-alsa-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ build_and_install() {
9090

9191
# if Makefile exists then we can just run make
9292
if [ ! -f "$repo_dir/Makefile" ]; then
93-
(cd "$repo_dir" && ./gitcompile $configure_args $target_args) || \
93+
(cd "$repo_dir" && autoreconf -vfi && ./configure $configure_args $target_args && make) || \
9494
{ echo "configure failed in $repo_dir"; exit 1; }
9595
else
9696
(cd "$repo_dir" && make -j) || { echo "make failed in $repo_dir"; exit 1; }

tools/topology/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(SOF_TOPOLOGY_BINARY_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
2-
set(SOF_ALSA_TOOLS_DIR "${SOF_ROOT_SOURCE_DIRECTORY}/../tools/bin")
2+
set(SOF_ALSA_TOOLS_DIR "${SOF_ROOT_SOURCE_DIRECTORY}/tools/bin")
33
set(ALSATPLG_CMD "${SOF_ALSA_TOOLS_DIR}/alsatplg")
44

55
function(alsatplg_version OUT_STATUS OUT_VERSION)

0 commit comments

Comments
 (0)