mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-03 15:31:49 -09:00
Since hidapi was introduced in commit6267f34afd, it forgot to propagate some dependencies of libgudev (which existed back then). Initially libgudev was only needed when BR2_INIT_SYSTEMD=y, but still the dependencies were not propagated for the systemd case. Anyway, sincee739dd5a11, libgudev is a mandatory dependency of hidapi, independently from the selected init system. We make sure to propagate all dependencies of libgudev to hidapi, and propagate them to the reverse dependencies of hidapi. Fixes:6267f34afd("hidapi: new package") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit74def2cdd4) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
config BR2_PACKAGE_OPENFPGALOADER
|
|
bool "openfpgaloader"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
select BR2_PACKAGE_LIBFTDI1
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Universal utility for programming FPGA
|
|
|
|
https://github.com/trabucayre/openFPGALoader/
|
|
|
|
if BR2_PACKAGE_OPENFPGALOADER
|
|
|
|
config BR2_PACKAGE_OPENFPGALOADER_CMSIS
|
|
bool "CMSIS-DAP support"
|
|
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb
|
|
depends on BR2_USE_MMU # hidapi
|
|
depends on BR2_USE_WCHAR # hidapi
|
|
select BR2_PACKAGE_HIDAPI
|
|
help
|
|
openfpgaloader CMSIS-DAP support
|
|
|
|
comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads, gcc >= 4.9, wchar"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
|
!BR2_USE_WCHAR
|
|
|
|
config BR2_PACKAGE_OPENFPGALOADER_LIBGPIOD
|
|
bool "libgpiod support"
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 # libgpiod
|
|
select BR2_PACKAGE_LIBGPIOD
|
|
help
|
|
openfpgaloader libgpiod support
|
|
|
|
comment "openfpgaloader libgpiod needs kernel headers >= 4.8"
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
|
|
|
endif
|
|
|
|
comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|