All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18
@ 2018-11-18 19:35 Fabrice Fontaine
  2018-11-18 19:35 ` [Buildroot] [PATCH 2/2] imx-uuc: install ufb Fabrice Fontaine
  2018-11-18 20:56 ` [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18 Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2018-11-18 19:35 UTC (permalink / raw)
  To: buildroot

Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the following
commit:
https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

This new ufb daemon uses usb_functionfs_descs_head_v2 which is available
only since 3.18:
https://github.com/torvalds/linux/commit/1df22b4ea9d91b01267fb61c155c31fb65d6b8a0

So add a dependency on headers >= 3.18

Fixes:
 - http://autobuild.buildroot.org/results/1081062b1c32c44a9feb5b14288095bc72d15986

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/freescale-imx/imx-uuc/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/freescale-imx/imx-uuc/Config.in b/package/freescale-imx/imx-uuc/Config.in
index ed734ad7e2..0e257bde17 100644
--- a/package/freescale-imx/imx-uuc/Config.in
+++ b/package/freescale-imx/imx-uuc/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_IMX_UUC
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_arm # Only relevant for i.MX
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2
 	select BR2_PACKAGE_HOST_DOSFSTOOLS
 	help
 	  This package provides the Universal Adapter user-space
@@ -15,7 +16,8 @@ config BR2_PACKAGE_IMX_UUC
 	  This package is provided by Freescale/NXP as-is and doesn't
 	  have an upstream.
 
-comment "imx-uuc needs a toolchain w/ threads"
+comment "imx-uuc needs a toolchain w/ threads, headers >= 3.18"
 	depends on BR2_arm
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] imx-uuc: install ufb
  2018-11-18 19:35 [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18 Fabrice Fontaine
@ 2018-11-18 19:35 ` Fabrice Fontaine
  2018-11-18 20:56   ` Peter Korsgaard
  2018-11-18 20:56 ` [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18 Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2018-11-18 19:35 UTC (permalink / raw)
  To: buildroot

Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the new ufb
daemon through the following commit:
https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

So install ufb on target

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/freescale-imx/imx-uuc/imx-uuc.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/freescale-imx/imx-uuc/imx-uuc.mk b/package/freescale-imx/imx-uuc/imx-uuc.mk
index bdfa51b171..52d2b7c7a3 100644
--- a/package/freescale-imx/imx-uuc/imx-uuc.mk
+++ b/package/freescale-imx/imx-uuc/imx-uuc.mk
@@ -20,6 +20,7 @@ endef
 define IMX_UUC_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 755 $(@D)/uuc $(TARGET_DIR)/usr/bin/uuc
 	$(INSTALL) -D -m 755 $(@D)/sdimage $(TARGET_DIR)/usr/bin/sdimage
+	$(INSTALL) -D -m 755 $(@D)/ufb $(TARGET_DIR)/usr/bin/ufb
 	dd if=/dev/zero of=$(TARGET_DIR)/fat bs=1M count=1
 	$(HOST_DIR)/sbin/mkfs.vfat $(TARGET_DIR)/fat
 endef
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18
  2018-11-18 19:35 [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18 Fabrice Fontaine
  2018-11-18 19:35 ` [Buildroot] [PATCH 2/2] imx-uuc: install ufb Fabrice Fontaine
@ 2018-11-18 20:56 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-11-18 20:56 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the following
 > commit:
 > https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

 > This new ufb daemon uses usb_functionfs_descs_head_v2 which is available
 > only since 3.18:
 > https://github.com/torvalds/linux/commit/1df22b4ea9d91b01267fb61c155c31fb65d6b8a0

 > So add a dependency on headers >= 3.18

 > Fixes:
 >  - http://autobuild.buildroot.org/results/1081062b1c32c44a9feb5b14288095bc72d15986

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] imx-uuc: install ufb
  2018-11-18 19:35 ` [Buildroot] [PATCH 2/2] imx-uuc: install ufb Fabrice Fontaine
@ 2018-11-18 20:56   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-11-18 20:56 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the new ufb
 > daemon through the following commit:
 > https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

 > So install ufb on target

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-18 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-18 19:35 [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18 Fabrice Fontaine
2018-11-18 19:35 ` [Buildroot] [PATCH 2/2] imx-uuc: install ufb Fabrice Fontaine
2018-11-18 20:56   ` Peter Korsgaard
2018-11-18 20:56 ` [Buildroot] [PATCH 1/2] imx-uuc: needs headers >= 3.18 Peter Korsgaard

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.