1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-07 03:11:59 +00:00

ti-img-encode-decode: Update SRCREV and build encoder

Pick up latest version of ti-img-encode-decode which
includes updates for decoder and addition of encoder.

Also update the recipe to build the encoder module.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Angela Stegmaier
2019-09-12 02:08:51 +00:00
committed by Denys Dmytriyenko
parent 234fdf48d8
commit 44346284a4
@@ -1,15 +1,15 @@
SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe"
LIC_FILES_CHKSUM = "file://driver/common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe"
inherit module
MACHINE_KERNEL_PR_append = "b"
MACHINE_KERNEL_PR_append = "c"
PR = "${MACHINE_KERNEL_PR}"
COMPATIBLE_MACHINE = "j7-evm"
SRCREV = "1f85a7fb3b78c82b44038aaf29bfdb229aeb6bc8"
SRCREV = "c7657d2ead0ca211ab307dd2f403621de5b3e80d"
EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}"
TARGET_CC_ARCH += "${LDFLAGS}"
@@ -19,7 +19,13 @@ SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protoco
S = "${WORKDIR}/git"
do_compile() {
oe_runmake all -C ${S}/linux/decoder
oe_runmake all -C ${S}/linux/encoder
}
do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/linux/decoder/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/linux/encoder/vxe-enc.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}