1config 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 11 https://github.com/trabucayre/openFPGALoader/ 12 13if BR2_PACKAGE_OPENFPGALOADER 14 15config BR2_PACKAGE_OPENFPGALOADER_CMSIS 16 bool "CMSIS-DAP support" 17 depends on BR2_PACKAGE_HAS_UDEV # hidapi 18 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi 19 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb 20 select BR2_PACKAGE_HIDAPI 21 help 22 openfpgaloader CMSIS-DAP support 23 24comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads" 25 depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS_NPTL 26 27config BR2_PACKAGE_OPENFPGALOADER_LIBGPIOD 28 bool "libgpiod support" 29 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 # libgpiod 30 select BR2_PACKAGE_LIBGPIOD 31 help 32 openfpgaloader libgpiod support 33 34comment "openfpgaloader libgpiod needs kernel headers >= 4.8" 35 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 36 37endif 38 39comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9" 40 depends on !BR2_TOOLCHAIN_HAS_THREADS || \ 41 !BR2_INSTALL_LIBSTDCPP || \ 42 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 43