From 19af995bc185735d5d880682ce057599fd0698dc Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Mon, 9 Mar 2026 09:48:37 +0100 Subject: [PATCH] aom: add bindir to SYSROOT The cmake files files installed by this recipe check the existence of the binaries in ${bindir}, and throw a fatal error in case it cannot find the expexted files. Due to this, it is not possible to include aom in other cmake project, because it errors out: The imported target "AOM::aomdec" references the file | | ".../recipe-sysroot/usr/bin/aomdec" | | but this file does not exist. Possible reasons include: ... To avoid this error, incldue the content of bindir in the sysroot. Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb b/meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb index 141b02306d..b157dc79ec 100644 --- a/meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb +++ b/meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb @@ -25,3 +25,5 @@ EXTRA_OECMAKE:append:riscv32 = " -DENABLE_RVV=OFF" do_generate_toolchain_file:append() { echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=${TARGET_DBGSRC_DIR})" >> ${WORKDIR}/toolchain.cmake } + +SYSROOT_DIRS += "${bindir}"