package/avrdude: bump to version 7.1

Switch to cmake-package (autotools removed)

https://github.com/avrdudes/avrdude/blob/v7.1/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-04-02 14:48:06 +02:00 committed by Peter Korsgaard
parent b7eaa9af7b
commit f89f3787a0
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,3 @@
# Locally computed
sha256 bbe2cf09163b3561ea28e9d48c2a588838f7adcd7858e34ced9c886feacb5be6 avrdude-6.4.tar.gz
sha256 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb avrdude-7.1.tar.gz
sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING

View File

@ -4,22 +4,19 @@
#
################################################################################
AVRDUDE_VERSION = 6.4
AVRDUDE_VERSION = 7.1
AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION))
AVRDUDE_LICENSE = GPL-2.0+
AVRDUDE_LICENSE_FILES = COPYING
# Sources coming from git, without generated configure and Makefile.in
# files.
AVRDUDE_AUTORECONF = YES
AVRDUDE_CONF_OPTS = --enable-linuxgpio
AVRDUDE_CONF_OPTS = -DHAVE_LINUXGPIO=ON
AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \
host-flex host-bison
ifeq ($(BR2_PACKAGE_AVRDUDE_SPI),y)
AVRDUDE_CONF_OPTS += --enable-linuxspi
AVRDUDE_CONF_OPTS += -DHAVE_LINUXSPI=ON
else
AVRDUDE_CONF_OPTS += --disable-linuxspi
AVRDUDE_CONF_OPTS += -DHAVE_LINUXSPI=OFF
endif
ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
@ -40,4 +37,4 @@ endef
AVRDUDE_POST_INSTALL_TARGET_HOOKS += AVRDUDE_REMOVE_BACKUP_FILE
$(eval $(autotools-package))
$(eval $(cmake-package))