Config.in 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. config BR2_PACKAGE_OPENFPGALOADER
  2. bool "openfpgaloader"
  3. depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1
  4. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb
  5. depends on BR2_INSTALL_LIBSTDCPP
  6. select BR2_PACKAGE_LIBFTDI1
  7. select BR2_PACKAGE_ZLIB
  8. help
  9. Universal utility for programming FPGA
  10. https://github.com/trabucayre/openFPGALoader/
  11. if BR2_PACKAGE_OPENFPGALOADER
  12. config BR2_PACKAGE_OPENFPGALOADER_CMSIS
  13. bool "CMSIS-DAP support"
  14. depends on BR2_PACKAGE_HAS_UDEV # hidapi
  15. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
  16. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb
  17. select BR2_PACKAGE_HIDAPI
  18. help
  19. openfpgaloader CMSIS-DAP support
  20. comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads"
  21. depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  22. config BR2_PACKAGE_OPENFPGALOADER_LIBGPIOD
  23. bool "libgpiod support"
  24. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 # libgpiod
  25. select BR2_PACKAGE_LIBGPIOD
  26. help
  27. openfpgaloader libgpiod support
  28. comment "openfpgaloader libgpiod needs kernel headers >= 4.8"
  29. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  30. endif
  31. comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"
  32. depends on !BR2_TOOLCHAIN_HAS_THREADS || \
  33. !BR2_INSTALL_LIBSTDCPP || \
  34. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9