Files
buildroot/package/freescale-imx/imx-codec/imx-codec.mk
Sébastien Szymanski 43cea41928 package/freescale-imx/imx-codec: bump to version 4.10.0
This version is aligned with NXP Linux BSP version "LF6.12.49_2.2.0".

License hashes changed because the LA_OPT_NXP_Software_License changed
from "v56 April 2024" to "v62 May 2025".

Note: in this release, the package source archive name changed to
include a revision. This commit adds a new _REVISION variable with the
value published in the corresponding NXP BSP.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-07-30 23:12:21 +02:00

46 lines
1.4 KiB
Makefile

################################################################################
#
# imx-codec
#
################################################################################
IMX_CODEC_VERSION = 4.10.0
IMX_CODEC_REVISION = 464e9d8
IMX_CODEC_SITE = $(FREESCALE_IMX_SITE)
IMX_CODEC_SOURCE = imx-codec-$(IMX_CODEC_VERSION)-$(IMX_CODEC_REVISION).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 SCR-imx-codec.txt
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 NXP_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))