[meta-ti] [thud][PATCH] ti-img-encode-decode: Update SRCREV and build encoder
Angela Stegmaier
angelabaker at ti.com
Wed Sep 11 13:08:51 PDT 2019
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 at ti.com>
---
.../ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb b/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb
index c684103..0b84301 100644
--- a/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb
+++ b/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb
@@ -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
}
--
1.9.1
More information about the meta-ti
mailing list