From f89f3787a05d123a33f1a000c802fe42c96a487f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 2 Apr 2023 14:48:06 +0200 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/avrdude/avrdude.hash | 2 +- package/avrdude/avrdude.mk | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/package/avrdude/avrdude.hash b/package/avrdude/avrdude.hash index d53d4dd60d..5910a568db 100644 --- a/package/avrdude/avrdude.hash +++ b/package/avrdude/avrdude.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bbe2cf09163b3561ea28e9d48c2a588838f7adcd7858e34ced9c886feacb5be6 avrdude-6.4.tar.gz +sha256 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb avrdude-7.1.tar.gz sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk index accd92c1d5..8ebe33b372 100644 --- a/package/avrdude/avrdude.mk +++ b/package/avrdude/avrdude.mk @@ -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))