xref: /OK3568_Linux_fs/buildroot/package/avrdude/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_AVRDUDE
2*4882a593Smuzhiyun	bool "avrdude"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
4*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # elfutils
5*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # elfutils
6*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
8*4882a593Smuzhiyun	select BR2_PACKAGE_ELFUTILS
9*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUSB
10*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUSB_COMPAT
11*4882a593Smuzhiyun	select BR2_PACKAGE_NCURSES
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  avrdude is a programmer for Atmel AVR microcontrollers
14*4882a593Smuzhiyun	  this package provides a version with new linuxspi driver
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  https://github.com/kcuzner/avrdude
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunif BR2_PACKAGE_AVRDUDE
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig BR2_PACKAGE_AVRDUDE_SPI
21*4882a593Smuzhiyun	bool "SPI support"
22*4882a593Smuzhiyun	default y # Backward compatibility
23*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
24*4882a593Smuzhiyun
25*4882a593Smuzhiyuncomment "SPI support needs a toolchain w/ linux headers >= 4.6"
26*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunendif
29*4882a593Smuzhiyun
30*4882a593Smuzhiyuncomment "avrdude needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library, gcc >= 4.9"
31*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR \
32*4882a593Smuzhiyun		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
33*4882a593Smuzhiyun		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
34