summaryrefslogtreecommitdiffstats
path: root/package/freescale-imx/imx-parser
diff options
context:
space:
mode:
Diffstat (limited to 'package/freescale-imx/imx-parser')
-rw-r--r--package/freescale-imx/imx-parser/Config.in8
-rw-r--r--package/freescale-imx/imx-parser/imx-parser.hash2
-rw-r--r--package/freescale-imx/imx-parser/imx-parser.mk23
3 files changed, 33 insertions, 0 deletions
diff --git a/package/freescale-imx/imx-parser/Config.in b/package/freescale-imx/imx-parser/Config.in
new file mode 100644
index 0000000000..526f066387
--- /dev/null
+++ b/package/freescale-imx/imx-parser/Config.in
@@ -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.
diff --git a/package/freescale-imx/imx-parser/imx-parser.hash b/package/freescale-imx/imx-parser/imx-parser.hash
new file mode 100644
index 0000000000..2193c66f4d
--- /dev/null
+++ b/package/freescale-imx/imx-parser/imx-parser.hash
@@ -0,0 +1,2 @@
+# locally computed
+sha256 1bec0101843db2e95d61e3dbe9e35172d874e54be19cc5d8bf72a735d5e3236f imx-parser-4.0.9.bin
diff --git a/package/freescale-imx/imx-parser/imx-parser.mk b/package/freescale-imx/imx-parser/imx-parser.mk
new file mode 100644
index 0000000000..a207d6e4f0
--- /dev/null
+++ b/package/freescale-imx/imx-parser/imx-parser.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# 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
+
+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.
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud