* [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build
@ 2019-02-04 13:10 Matt Weber
2019-02-04 13:10 ` [Buildroot] [PATCH v4 2/2] package/utp_com: new host package Matt Weber
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Matt Weber @ 2019-02-04 13:10 UTC (permalink / raw)
To: buildroot
Initially used by the host build of the utp_com package
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
Changes
v4
[Thomas
- Moved to be the first patch in the series
v3
- New patch
---
package/sg3_utils/sg3_utils.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/sg3_utils/sg3_utils.mk b/package/sg3_utils/sg3_utils.mk
index 0c17b30..b3a79d6 100644
--- a/package/sg3_utils/sg3_utils.mk
+++ b/package/sg3_utils/sg3_utils.mk
@@ -51,3 +51,4 @@ SG3_UTILS_POST_INSTALL_TARGET_HOOKS += SG3_UTILS_REMOVE_PROGS
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v4 2/2] package/utp_com: new host package
2019-02-04 13:10 [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Matt Weber
@ 2019-02-04 13:10 ` Matt Weber
2019-02-04 15:38 ` Thomas Petazzoni
2019-02-04 15:38 ` [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Thomas Petazzoni
2019-02-06 15:19 ` Thomas Petazzoni
2 siblings, 1 reply; 6+ messages in thread
From: Matt Weber @ 2019-02-04 13:10 UTC (permalink / raw)
To: buildroot
From: Vincent Prince <vincent.prince.fr@gmail.com>
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>
---
(Vincent, I'd suggest sending a follow on patch to add yourself as a
DEVELOPER to maintain this package)
Changes
v3 -> v4
[Thomas
- Moved to be second patch in the series
v2 -> v3
[Yann
- Fixed install path as suggested in v1
- Ran check-package and fixed all formatting items
- Adjusted macro spacing
[Matt W
- Removed target varient as it seems this is just a host tool
- Added license file hash
- Removed assignment of CFLAGS as already set via HOST_CONFIGURE_OPTS
- Added host dependency on host-sg3_utils
- Created new sg3_utils patch to add host dependency
Original v2
http://patchwork.ozlabs.org/patch/921325/
Notes on v1
http://lists.busybox.net/pipermail/buildroot/2018-May/222347.html
---
package/Config.in.host | 1 +
package/utp_com/Config.in.host | 7 +++++++
package/utp_com/utp_com.hash | 3 +++
package/utp_com/utp_com.mk | 21 +++++++++++++++++++++
4 files changed, 32 insertions(+)
create mode 100644 package/utp_com/Config.in.host
create mode 100644 package/utp_com/utp_com.hash
create mode 100644 package/utp_com/utp_com.mk
diff --git a/package/Config.in.host b/package/Config.in.host
index 16b474f..3b75f23 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -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
index 0000000..8f733de
--- /dev/null
+++ b/package/utp_com/Config.in.host
@@ -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
index 0000000..bc25be2
--- /dev/null
+++ b/package/utp_com/utp_com.hash
@@ -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
index 0000000..392cca2
--- /dev/null
+++ b/package/utp_com/utp_com.mk
@@ -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) -m 755 $(@D)/utp_com $(HOST_DIR)/bin/utp_com
+endef
+
+$(eval $(host-generic-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build
2019-02-04 13:10 [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Matt Weber
2019-02-04 13:10 ` [Buildroot] [PATCH v4 2/2] package/utp_com: new host package Matt Weber
@ 2019-02-04 15:38 ` Thomas Petazzoni
2019-02-06 15:19 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2019-02-04 15:38 UTC (permalink / raw)
To: buildroot
On Mon, 4 Feb 2019 07:10:22 -0600
Matt Weber <matthew.weber@rockwellcollins.com> wrote:
> Initially used by the host build of the utp_com package
>
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
>
> ---
> Changes
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v4 2/2] package/utp_com: new host package
2019-02-04 13:10 ` [Buildroot] [PATCH v4 2/2] package/utp_com: new host package Matt Weber
@ 2019-02-04 15:38 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2019-02-04 15:38 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 4 Feb 2019 07:10:23 -0600
Matt Weber <matthew.weber@rockwellcollins.com> wrote:
> From: Vincent Prince <vincent.prince.fr@gmail.com>
>
> 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>
> ---
>
> (Vincent, I'd suggest sending a follow on patch to add yourself as a
> DEVELOPER to maintain this package)
Actually, when adding a new package, having an entry in the DEVELOPERS
file is mandatory, so I've added one.
> +define HOST_UTP_COM_INSTALL_CMDS
> + $(INSTALL) -m 755 $(@D)/utp_com $(HOST_DIR)/bin/utp_com
Missing -D option (just in case).
Applied with those two nits fixed. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build
2019-02-04 13:10 [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Matt Weber
2019-02-04 13:10 ` [Buildroot] [PATCH v4 2/2] package/utp_com: new host package Matt Weber
2019-02-04 15:38 ` [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Thomas Petazzoni
@ 2019-02-06 15:19 ` Thomas Petazzoni
2019-02-06 16:13 ` Matthew Weber
2 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2019-02-06 15:19 UTC (permalink / raw)
To: buildroot
On Mon, 4 Feb 2019 07:10:22 -0600
Matt Weber <matthew.weber@rockwellcollins.com> wrote:
> Initially used by the host build of the utp_com package
>
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
>
> ---
> Changes
This patch causes some breakage:
http://autobuild.buildroot.net/results/2b3/2b30f4ae0074d7f89ed489dccf6b5eecdd40c909/build-end.log
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build
2019-02-06 15:19 ` Thomas Petazzoni
@ 2019-02-06 16:13 ` Matthew Weber
0 siblings, 0 replies; 6+ messages in thread
From: Matthew Weber @ 2019-02-06 16:13 UTC (permalink / raw)
To: buildroot
Thomas,
On Wed, Feb 6, 2019 at 9:19 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Mon, 4 Feb 2019 07:10:22 -0600
> Matt Weber <matthew.weber@rockwellcollins.com> wrote:
>
> > Initially used by the host build of the utp_com package
> >
> > Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> >
> > ---
> > Changes
>
> This patch causes some breakage:
>
> http://autobuild.buildroot.net/results/2b3/2b30f4ae0074d7f89ed489dccf6b5eecdd40c909/build-end.log
>
I was unable to reproduce on a machine with..............
Linux largo 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24
21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
/lib/x86_64-linux-gnu/ld-2.19.so
gcc (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4
What's the bootlin autobuilder configuration?
Thanks!
Matt
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-02-06 16:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 13:10 [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Matt Weber
2019-02-04 13:10 ` [Buildroot] [PATCH v4 2/2] package/utp_com: new host package Matt Weber
2019-02-04 15:38 ` Thomas Petazzoni
2019-02-04 15:38 ` [Buildroot] [PATCH v4 1/2] package/sg3_utils: add host build Thomas Petazzoni
2019-02-06 15:19 ` Thomas Petazzoni
2019-02-06 16:13 ` Matthew Weber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.