avrdude: new package
PATCH v2 1/1 avrdude: new package
Signed-off-by Wojciech M. Zabolotny <[email protected]>
--- package/Config.in | 1 + package/avrdude/Config.in | 16 ++++++++++++++++ package/avrdude/avrdude.mk | 18 ++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 package/avrdude/Config.in create mode 100644 package/avrdude/avrdude.mk
package/Config.in +1 -0
@@ -258,6 +258,7 @@ source "package/zd1211-firmware/Config.in" endmenu source "package/a10disp/Config.in" source "package/acpid/Config.in" +source "package/avrdude/Config.in" source "package/cdrkit/Config.in" source "package/cryptsetup/Config.in" source "package/dbus/Config.in"
package/avrdude/Config.in new file +16 -0
@@ -0,0 +1,16 @@ +config BR2_PACKAGE_AVRDUDE + bool "avrdude" + select BR2_PACKAGE_LIBELF + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + select BR2_PACKAGE_NCURSES + depends on BR2_TOOLCHAIN_HAS_THREADS + help + avrdude is a programmer for Atmel AVR microcontrollers + this package provides a version with new linuxspi driver + + https://github.com/kcuzner/avrdude + +comment "avrdude needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS +
package/avrdude/avrdude.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# AVRDUDE +# +################################################################################ + +AVRDUDE_VERSION = eabe067c4527bc2eedc5db9288ef5cf1818ec720 +AVRDUDE_SITE = $(call github,kcuzner,avrdude,$(AVRDUDE_VERSION)) +AVRDUDE_LICENSE = GPLv2+ +AVRDUDR_LICENSE_FILES = avrdude/COPYING +AVRDUDE_SUBDIR = avrdude +# Sources are distributed with ./bootstrap file +# it is necessary to perform autoreconfiguration +AVRDUDE_AUTORECONF = YES +AVRDUDE_DEPENDENCIES = libelf libusb libusb-compat ncurses + +$(eval $(autotools-package)) +
Signature · 1 line
1.8.5.1
Thomas Petazzoni
AppliedPATCH v2 1/1 avrdude: new package
Dear Wojciech M. Zabolotny,
Quoted 8 lines · Wojciech M. Zabolotny
Signed-off-by Wojciech M. Zabolotny <[email protected]>--- package/Config.in | 1 + package/avrdude/Config.in | 16 ++++++++++++++++ package/avrdude/avrdude.mk | 18 ++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 package/avrdude/Config.in create mode 100644 package/avrdude/avrdude.mk
Thanks, applied. FYI, I've made the following small modifications:
- remove empty newline at the end of Config.in
- use lowercase for the package name in the comment header
- reword the comment explaining why autoreconf is needed
- add optional dependency on libftdi, which avrdude can use
- remove avrdude.conf.bak file from /etc
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com