2013-12-24 23:38:00 +01:00
|
|
|
config BR2_PACKAGE_AVRDUDE
|
|
|
|
bool "avrdude"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-08-28 14:21:32 +02:00
|
|
|
depends on BR2_USE_WCHAR # elfutils
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS # elfutils
|
2015-08-07 23:37:51 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
2020-12-13 16:56:36 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
2017-04-22 19:17:48 +02:00
|
|
|
select BR2_PACKAGE_ELFUTILS
|
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
|
select BR2_PACKAGE_LIBUSB_COMPAT
|
|
|
|
select BR2_PACKAGE_NCURSES
|
2013-12-24 23:38:00 +01:00
|
|
|
help
|
|
|
|
avrdude is a programmer for Atmel AVR microcontrollers
|
|
|
|
this package provides a version with new linuxspi driver
|
|
|
|
|
|
|
|
https://github.com/kcuzner/avrdude
|
|
|
|
|
2021-03-14 10:46:41 +01:00
|
|
|
if BR2_PACKAGE_AVRDUDE
|
|
|
|
|
|
|
|
config BR2_PACKAGE_AVRDUDE_SPI
|
|
|
|
bool "SPI support"
|
|
|
|
default y # Backward compatibility
|
2022-04-12 00:12:48 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
2021-03-14 10:46:41 +01:00
|
|
|
|
2022-04-12 00:12:48 +02:00
|
|
|
comment "SPI support needs a toolchain w/ linux headers >= 4.8"
|
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
2021-03-14 10:46:41 +01:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2020-12-13 16:56:36 +01:00
|
|
|
comment "avrdude needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library, gcc >= 4.9"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR \
|
|
|
|
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|
2015-08-08 20:58:34 +02:00
|
|
|
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|