Update buidlroot to version 2016.08.1
This commit is contained in:
8
bsp/buildroot/package/freescale-imx/imx-parser/Config.in
Normal file
8
bsp/buildroot/package/freescale-imx/imx-parser/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_IMX_PARSER
|
||||
bool "imx-parser"
|
||||
depends on BR2_arm # Only relevant for i.MX
|
||||
help
|
||||
Binary parser libraries for the NXP i.MX SoCs.
|
||||
|
||||
This library is provided by NXP as-is and doesn't have
|
||||
an upstream.
|
||||
@@ -0,0 +1,2 @@
|
||||
# locally computed
|
||||
sha256 1bec0101843db2e95d61e3dbe9e35172d874e54be19cc5d8bf72a735d5e3236f imx-parser-4.0.9.bin
|
||||
38
bsp/buildroot/package/freescale-imx/imx-parser/imx-parser.mk
Normal file
38
bsp/buildroot/package/freescale-imx/imx-parser/imx-parser.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# imx-parser
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IMX_PARSER_VERSION = 4.0.9
|
||||
IMX_PARSER_SITE = $(FREESCALE_IMX_SITE)
|
||||
IMX_PARSER_SOURCE = imx-parser-$(IMX_PARSER_VERSION).bin
|
||||
IMX_PARSER_INSTALL_STAGING = YES
|
||||
|
||||
IMX_PARSER_LICENSE = NXP Semiconductor Software License Agreement
|
||||
IMX_PARSER_LICENSE_FILES = EULA COPYING
|
||||
IMX_PARSER_REDISTRIBUTE = NO
|
||||
|
||||
ifeq ($(BR2_ARM_EABIHF),y)
|
||||
IMX_PARSER_CONF_OPTS += --enable-fhw
|
||||
else
|
||||
IMX_PARSER_CONF_OPTS += --enable-fsw
|
||||
endif
|
||||
|
||||
define IMX_PARSER_EXTRACT_CMDS
|
||||
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_PARSER_SOURCE))
|
||||
endef
|
||||
|
||||
# The Makefile installs several versions of the libraries, but we only
|
||||
# need one of them, depending on the platform.
|
||||
|
||||
# Upstream installs libraries into usr/lib/imx-mm, but the dynamic
|
||||
# loader only looks in usr/lib, so move the libraries there
|
||||
define IMX_PARSER_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_PARSER_POST_INSTALL_TARGET_HOOKS += IMX_PARSER_FIXUP_TARGET_PATH
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user