hevc-arm-decoder: update to compile with gcc-6 and/or internal toolchain
PATCH 1/1 hevc-arm-decoder: update to compile with gcc-6 and/or internal toolchain
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../hevc-arm-decoder/hevc-arm-decoder_01.00.00.01.bb | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_01.00.00.01.bb +12 -8
@@ -1,23 +1,27 @@ -DESCRIPTION = "ARM HEVC Decoder with Unit Test Application" +SUMMARY = "ARM HEVC Decoder with Unit Test Application" HOMEPAGE = "https://gforge.ti.com/gf/project/am_multimedia/" LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM := "file://Inc/exp_pp_h265decoder.h;beginline=1;endline=27;md5=51a0ae5cca603a21186bf6ff458f3be9" -PR = "r2" +LIC_FILES_CHKSUM = "file://Inc/exp_pp_h265decoder.h;beginline=1;endline=27;md5=51a0ae5cca603a21186bf6ff458f3be9" +PR = "r3" COMPATIBLE_MACHINE = "dra7xx|keystone" -SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/1280/7770/REL.HEVC.D.ARM.OBJ.${PV}.tar.gz;name=hevc-arm-decoder" +SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/1280/7770/REL.HEVC.D.ARM.OBJ.${PV}.tar.gz \ + file://Testparams.cfg \ +" -SRC_URI[hevc-arm-decoder.md5sum] = "bb7620e34175f53a1ed989f7ce8f6d29" -SRC_URI[hevc-arm-decoder.sha256sum] = "e5743478e94bcfcee2e59e2e0056ece648c11bcbac91a6a8b8e492e3b42738d4" +SRC_URI[md5sum] = "bb7620e34175f53a1ed989f7ce8f6d29" +SRC_URI[sha256sum] = "e5743478e94bcfcee2e59e2e0056ece648c11bcbac91a6a8b8e492e3b42738d4" S = "${WORKDIR}/HEVC.D.ARM.${PV}/ARM_001" -SRC_URI_append = " file://Testparams.cfg" +do_configure() { + sed "s/-lpthread/-pthread/g" -i ${S}/Client/Build/ARM/makefile +} do_compile() { cd ${S}/Client/Build/ARM - make + oe_runmake CC="${CC}" LINKER="${CC}" } do_install() {
Signature · 1 line
2.7.4