1031318018
No changelog provided by NXP for v4.3.5. Added COPYING hash to track license change. Changelog for v4.3.4 1. Add INSANE_SKIP for file-rdeps to fix QA Issue 2. Update mp3_enc version to 02.03.01 3. Fix crash in lib_mp3_enc_arm12_elinux.so This crash error is caused by division by zero in noOfElements_mp3e() function When encoding 0 size file by using unit test so before performing a division operation, need to check whether divisor is zero or not to fix it. Changelog for v4.3.2 1. Upgrade EULA to v20 2. Add i.MX8 support 3. Bugfix/Optimization - Remove video codec in imx-codec package. - Fix logically dead code issue for aac_dec. - Fix wrong sizeof argument for flac_dec. - Cancel unused code in nb_amr/wb_amr/flac_dec/bsac_dec. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> [Thomas: add hash for EULA file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# imx-codec
|
|
#
|
|
################################################################################
|
|
|
|
IMX_CODEC_VERSION = 4.3.5
|
|
IMX_CODEC_SITE = $(FREESCALE_IMX_SITE)
|
|
IMX_CODEC_SOURCE = imx-codec-$(IMX_CODEC_VERSION).bin
|
|
IMX_CODEC_INSTALL_STAGING = YES
|
|
|
|
IMX_CODEC_LICENSE = NXP Semiconductor Software License Agreement, BSD-3-Clause (flac, ogg headers)
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_IMX_VPU),y)
|
|
IMX_CODEC_CONF_OPTS += --enable-vpu
|
|
endif
|
|
|
|
define IMX_CODEC_EXTRACT_CMDS
|
|
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_CODEC_DL_DIR)/$(IMX_CODEC_SOURCE))
|
|
endef
|
|
|
|
# FIXME The Makefile installs both the arm9 and arm11 versions of the
|
|
# libraries, but we only need one of them.
|
|
|
|
# Upstream installs libraries into usr/lib/imx-mm, but the dynamic
|
|
# loader only looks in usr/lib, so move the libraries there
|
|
define IMX_CODEC_FIXUP_TARGET_PATH
|
|
find $(TARGET_DIR)/usr/lib/imx-mm -not -type d \
|
|
-exec mv {} $(TARGET_DIR)/usr/lib \;
|
|
rm -rf $(TARGET_DIR)/usr/lib/imx-mm
|
|
endef
|
|
IMX_CODEC_POST_INSTALL_TARGET_HOOKS += IMX_CODEC_FIXUP_TARGET_PATH
|
|
|
|
$(eval $(autotools-package))
|