Initial Commit
- initial default booting image
This commit is contained in:
13
package/freescale-imx/imx-codec/Config.in
Normal file
13
package/freescale-imx/imx-codec/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_IMX_CODEC
|
||||
bool "imx-codec"
|
||||
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.
|
||||
|
||||
This library is provided by NXP as-is and doesn't have
|
||||
an upstream.
|
||||
|
||||
comment "imx-codec needs a glibc toolchain"
|
||||
depends on BR2_arm || BR2_aarch64
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
5
package/freescale-imx/imx-codec/imx-codec.hash
Normal file
5
package/freescale-imx/imx-codec/imx-codec.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# locally computed
|
||||
sha256 82242219e0d3536aeff31d9c215543bfe5541540bdb4fa8d61e83067b015e31f imx-codec-4.10.0-464e9d8.bin
|
||||
sha256 f24daabb577ad31105a7db562bb2f4623603715cbb3c168a310564974ac2a2e9 COPYING
|
||||
sha256 bfc1c162384c8cc4d5a78c4c930a317a8c01fd2cdad11755e3b13a6004bb4961 EULA
|
||||
sha256 cb79b015cf2185bac3dde0f77de227e2d68a5e71f6b58fa2862c9459fdd08cd2 SCR-imx-codec.txt
|
||||
45
package/freescale-imx/imx-codec/imx-codec.mk
Normal file
45
package/freescale-imx/imx-codec/imx-codec.mk
Normal file
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user