Config.in 969 B

12345678910111213141516171819202122232425262728293031
  1. config BR2_PACKAGE_AVRDUDE
  2. bool "avrdude"
  3. depends on BR2_TOOLCHAIN_HAS_THREADS
  4. depends on BR2_USE_WCHAR # elfutils
  5. depends on !BR2_STATIC_LIBS # elfutils
  6. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
  7. select BR2_PACKAGE_ELFUTILS
  8. select BR2_PACKAGE_LIBUSB
  9. select BR2_PACKAGE_LIBUSB_COMPAT
  10. select BR2_PACKAGE_NCURSES
  11. help
  12. avrdude is a programmer for Atmel AVR microcontrollers
  13. this package provides a version with new linuxspi driver
  14. https://github.com/kcuzner/avrdude
  15. if BR2_PACKAGE_AVRDUDE
  16. config BR2_PACKAGE_AVRDUDE_SPI
  17. bool "SPI support"
  18. default y # Backward compatibility
  19. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  20. comment "SPI support needs a toolchain w/ linux headers >= 4.8"
  21. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  22. endif
  23. comment "avrdude needs a toolchain w/ threads, wchar, dynamic library, gcc >= 4.9"
  24. depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR \
  25. || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9