From 72efe1797ef82af6eee49c82e57e3a32c9386753 Mon Sep 17 00:00:00 2001 From: Gary Bisson Date: Fri, 5 Jan 2018 15:39:40 +0100 Subject: [PATCH] imx-codec: bump to version 4.2.1, enable on AArch64 Changelog: 1. Upgrade EULA to v18 2. Bugfix/Optimization - AACPlus: fixed playbe silence after 1s of stream - Removed duplicated code in aac_dec/aacplus_dec. - Removed unused code in flac_dec. Note that this package now includes AARCH64 libraries for the upcoming i.MX8 CPU family. Signed-off-by: Gary Bisson Signed-off-by: Thomas Petazzoni --- package/freescale-imx/imx-codec/Config.in | 4 ++-- package/freescale-imx/imx-codec/imx-codec.hash | 2 +- package/freescale-imx/imx-codec/imx-codec.mk | 6 +++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package/freescale-imx/imx-codec/Config.in b/package/freescale-imx/imx-codec/Config.in index df248b0cf2..0ecb92bf02 100644 --- a/package/freescale-imx/imx-codec/Config.in +++ b/package/freescale-imx/imx-codec/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_IMX_CODEC bool "imx-codec" - depends on BR2_arm # Only relevant for i.MX + depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX depends on BR2_TOOLCHAIN_USES_GLIBC # prebuilt binaries help Binary codec libraries for the NXP i.MX SoCs. @@ -9,5 +9,5 @@ config BR2_PACKAGE_IMX_CODEC an upstream. comment "imx-codec needs a glibc toolchain" - depends on BR2_arm + depends on BR2_arm || BR2_aarch64 depends on !BR2_TOOLCHAIN_USES_GLIBC diff --git a/package/freescale-imx/imx-codec/imx-codec.hash b/package/freescale-imx/imx-codec/imx-codec.hash index 2bb7a242e9..53d8f71c39 100644 --- a/package/freescale-imx/imx-codec/imx-codec.hash +++ b/package/freescale-imx/imx-codec/imx-codec.hash @@ -1,2 +1,2 @@ # locally computed -sha256 98fe71cb44f7e858c64c5eda81741ed02f40afaadc3d4ed1e693c7d1e684b81d imx-codec-4.1.4.bin +sha256 20d3f9b4187fcd9e7007c94558a00bab1191513eee74b6f0d8c7b43f874e06ed imx-codec-4.2.1.bin diff --git a/package/freescale-imx/imx-codec/imx-codec.mk b/package/freescale-imx/imx-codec/imx-codec.mk index 44be941fe2..ea4d90110f 100644 --- a/package/freescale-imx/imx-codec/imx-codec.mk +++ b/package/freescale-imx/imx-codec/imx-codec.mk @@ -4,7 +4,7 @@ # ################################################################################ -IMX_CODEC_VERSION = 4.1.4 +IMX_CODEC_VERSION = 4.2.1 IMX_CODEC_SITE = $(FREESCALE_IMX_SITE) IMX_CODEC_SOURCE = imx-codec-$(IMX_CODEC_VERSION).bin IMX_CODEC_INSTALL_STAGING = YES @@ -13,6 +13,10 @@ IMX_CODEC_LICENSE = NXP Semiconductor Software License Agreement, BSD-3-Clause ( IMX_CODEC_LICENSE_FILES = EULA COPYING IMX_CODEC_REDISTRIBUTE = NO +ifeq ($(BR2_aarch64),y) +IMX_CODEC_CONF_OPTS += --enable-armv8 +endif + ifeq ($(BR2_ARM_EABIHF),y) IMX_CODEC_CONF_OPTS += --enable-fhw endif -- 2.30.2