All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/espflash: add BR2_PACKAGE_HAS_UDEV dependency
@ 2024-07-28 21:42 Torben Voltmer
  2024-07-29  8:11 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: Torben Voltmer @ 2024-07-28 21:42 UTC (permalink / raw)
  To: buildroot; +Cc: Torben Voltmer

Adding the dependency on BR2_PACKAGE_HAS_UDEV, since espflash links libudev
(via the libudev-sys crate). This should fix some of the autobuilder
failures caused by the espflash package.

Signed-off-by: Torben Voltmer <mail@t-voltmer.net>
---
 package/espflash/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/espflash/Config.in b/package/espflash/Config.in
index 2a7a0f6b38..62b1dc381c 100644
--- a/package/espflash/Config.in
+++ b/package/espflash/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_ESPFLASH
 	bool "espflash"
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	depends on BR2_PACKAGE_HAS_UDEV
 	select BR2_PACKAGE_HOST_RUSTC
 	help
 	  Serial flasher utilities for Espressif devices, based
@@ -8,3 +9,6 @@ config BR2_PACKAGE_ESPFLASH
 	  ESP32-C2/C3/C6, ESP32-H2, ESP32-P4, and ESP32-S2/S3.
 
 	  https://github.com/esp-rs/espflash
+
+comment "espflash needs udev /dev management"
+	depends on !BR2_PACKAGE_HAS_UDEV
\ No newline at end of file
-- 
2.45.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-07-29 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-28 21:42 [Buildroot] [PATCH 1/1] package/espflash: add BR2_PACKAGE_HAS_UDEV dependency Torben Voltmer
2024-07-29  8:11 ` Thomas Petazzoni via buildroot
2024-07-29 19:32   ` [Buildroot] [PATCH v2 1/1] package/espflash: add udev dependency Torben Voltmer
2024-07-29 21:12     ` Thomas Petazzoni via buildroot

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.