mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 lines
1.1 KiB
BlitzBasic
30 lines
1.1 KiB
BlitzBasic
SUMMARY = "Alliance for Open Media - AV1 Codec Library"
|
|
DESCRIPTION = "Alliance for Open Media AV1 codec library"
|
|
|
|
LICENSE = "BSD-2-Clause & AOM-Patent-License-1.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \
|
|
file://PATENTS;md5=a111d47497d3bb49e04eef71377eb8ba \
|
|
"
|
|
SRCREV = "d772e334cc724105040382a977ebb10dfd393293"
|
|
SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main;tag=v${PV} \
|
|
file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch \
|
|
file://0001-cmake-fix-nasm-detection-w-3.0.patch \
|
|
"
|
|
inherit cmake pkgconfig
|
|
|
|
DEPENDS = " nasm-native"
|
|
|
|
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \
|
|
-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \
|
|
"
|
|
CMAKE_VERBOSE = "VERBOSE=1"
|
|
CFLAGS:append:libc-musl = " -D_GNU_SOURCE"
|
|
EXTRA_OECMAKE:append:arm = " -DENABLE_NEON=OFF"
|
|
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}"
|