From f85a05cbb69e7cadcdc9a28443db616238e4788b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 19 Aug 2026 18:20:07 +0200 Subject: [PATCH] firmware-ayn-audioreach-topology: fix cross compiling Fix that this package cannot be cross compiled from x86_64: https://builds.sr.ht/~postmarketos/job/1865742 [ci:skip-vercheck] Signed-off-by: Oliver Smith Part-of: Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9406 [ci:skip-build]: already built successfully in CI --- .ci/testcases/test_firmware.py | 1 + device/testing/firmware-ayn-audioreach-topology/APKBUILD | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/testcases/test_firmware.py b/.ci/testcases/test_firmware.py index 804f7a4b4..ab910f8da 100644 --- a/.ci/testcases/test_firmware.py +++ b/.ci/testcases/test_firmware.py @@ -13,6 +13,7 @@ def test_aports_firmware(): """ excluded = [ + "firmware-ayn-audioreach-topology", # Doesn't work with pmb:cross-native "firmware-motorola-ali", # Depends on firmware-qcom-adreno-a530 "firmware-motorola-potter", # Depends on soc-qcom-msm8916-ucm "firmware-oneplus-msm8998", # Depends on soc-qcom-sdm845-nonfree-firmware diff --git a/device/testing/firmware-ayn-audioreach-topology/APKBUILD b/device/testing/firmware-ayn-audioreach-topology/APKBUILD index 0a68e771f..14e9acf8a 100644 --- a/device/testing/firmware-ayn-audioreach-topology/APKBUILD +++ b/device/testing/firmware-ayn-audioreach-topology/APKBUILD @@ -8,9 +8,9 @@ url="https://github.com/AYNTechnologies/audioreach-topology" # these files are not specific to cpu architecture, but only make sense on aarch64 devices arch="aarch64" license="BSD-3-Clause" -makedepends="alsa-utils cmake m4 samurai" +makedepends_build="alsa-utils cmake m4 samurai" source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz" -options="!check !tracedeps pmb:cross-native" +options="!check !tracedeps pmb:cross-native2" builddir="$srcdir/audioreach-topology-$_commit" build() {