package/utp_com: new package
authorVincent Prince <vincent.prince.fr@gmail.com>
Mon, 4 Feb 2019 13:10:23 +0000 (07:10 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 4 Feb 2019 15:35:51 +0000 (16:35 +0100)
This tool is used to send commands to imx6 based hardware using NXP's
UTP protocol.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in.host
package/utp_com/Config.in.host [new file with mode: 0644]
package/utp_com/utp_com.hash [new file with mode: 0644]
package/utp_com/utp_com.mk [new file with mode: 0644]

index 3703b3fae7f642d2117a5cb14f21f6f394c7703b..a04ab4553336c33f2d07f29ed07ae74e31d24bfe 100644 (file)
@@ -2159,6 +2159,7 @@ F:        package/lua-periphery/
 
 N:     Vincent Prince <vincent.prince.fr@gmail.com>
 F:     package/nss-myhostname/
+F:     package/utp_com/
 
 N:     Vincent StehlĂ© <vincent.stehle@laposte.net>
 F:     package/i7z/
index 16b474fc9dec06faebb3cfac5021d19a6c93f60b..3b75f23dd7819407a940a03d9caf894c2f9e940f 100644 (file)
@@ -63,6 +63,7 @@ menu "Host utilities"
        source "package/ti-cgt-pru/Config.in.host"
        source "package/uboot-tools/Config.in.host"
        source "package/util-linux/Config.in.host"
+       source "package/utp_com/Config.in.host"
        source "package/vboot-utils/Config.in.host"
        source "package/xorriso/Config.in.host"
        source "package/zip/Config.in.host"
diff --git a/package/utp_com/Config.in.host b/package/utp_com/Config.in.host
new file mode 100644 (file)
index 0000000..8f733de
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_UTP_COM
+       bool "host utp_com"
+       help
+         This package is used to send commands to hardware
+         via Freescale's UTP protocol (similar to MFGTools)
+
+         https://github.com/ixonos/utp_com
diff --git a/package/utp_com/utp_com.hash b/package/utp_com/utp_com.hash
new file mode 100644 (file)
index 0000000..bc25be2
--- /dev/null
@@ -0,0 +1,3 @@
+# locally computed
+sha256  8b5ba0058a78de69faf6822bb10b457fff2f9e55dc112ccb81c35214b061c6e6 utp_com-dee512ced1e9367d223d22f10797fbf9aeacfab6.tar.gz
+sha256  a45d0bb572ed792ed34627a72621834b3ba92aab6e2cc4e04301dee7a728d753 LICENSE
diff --git a/package/utp_com/utp_com.mk b/package/utp_com/utp_com.mk
new file mode 100644 (file)
index 0000000..5890a70
--- /dev/null
@@ -0,0 +1,21 @@
+################################################################################
+#
+# utp_com
+#
+################################################################################
+
+UTP_COM_VERSION = dee512ced1e9367d223d22f10797fbf9aeacfab6
+UTP_COM_SITE = $(call github,freescale,utp_com,$(UTP_COM_VERSION))
+UTP_COM_LICENSE = GPL-2.0+
+UTP_COM_LICENSE_FILES = LICENSE
+HOST_UTP_COM_DEPENDENCIES = host-sg3_utils
+
+define HOST_UTP_COM_BUILD_CMDS
+       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define HOST_UTP_COM_INSTALL_CMDS
+       $(INSTALL) -D -m 755 $(@D)/utp_com $(HOST_DIR)/bin/utp_com
+endef
+
+$(eval $(host-generic-package))