mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08:00
package/espflash: add udev dependency
Add the dependency on udev, since espflash links against libudev (via the libudev-sys crate). Fixes: http://autobuild.buildroot.net/results/c61b6ed4b6fb4d18d503ac37add200f5e6ae3706 Signed-off-by: Torben Voltmer <mail@t-voltmer.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
52e537c6a5
commit
c4e845b5b8
@ -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,7 @@ 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_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
|
@ -9,5 +9,6 @@ ESPFLASH_SITE = $(call github,esp-rs,espflash,v$(ESPFLASH_VERSION))
|
||||
ESPFLASH_SUBDIR = espflash
|
||||
ESPFLASH_LICENSE = Apache-2.0 or MIT
|
||||
ESPFLASH_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
|
||||
ESPFLASH_DEPENDENCIES = udev
|
||||
|
||||
$(eval $(cargo-package))
|
||||
|
Loading…
Reference in New Issue
Block a user