From a58ce16a026b19655760531268a38f83c580620a Mon Sep 17 00:00:00 2001 From: krant Date: Fri, 23 Feb 2024 11:19:45 +0200 Subject: [PATCH] avrdude: fix dependencies - libftdi, libhidapi, libusb-0.1 was incorrectly leaking into the build. - libgpiod was incorrectly missing out despite LINUXGPIO feature was explicitly requested. Signed-off-by: krant --- utils/avrdude/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/utils/avrdude/Makefile b/utils/avrdude/Makefile index 77d7ded110..037bbb8618 100644 --- a/utils/avrdude/Makefile +++ b/utils/avrdude/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=avrdude PKG_VERSION:=7.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/avrdudes/avrdude @@ -29,7 +29,7 @@ define Package/avrdude SUBMENU:=Microcontroller programming TITLE:=AVR Downloader/UploaDEr URL:=https://github.com/avrdudes/avrdude - DEPENDS:=+libncurses +libreadline +libusb-1.0 +libftdi1 +libelf + DEPENDS:=+libncurses +libreadline +libusb-1.0 +libftdi1 +libelf +libgpiod endef define Package/avrdude/description @@ -37,6 +37,10 @@ define Package/avrdude/description endef CMAKE_OPTIONS += \ + -DHAVE_LIBUSB=OFF \ + -DHAVE_LIBFTDI=OFF \ + -DHAVE_LIBHIDAPI=OFF \ + -DHAVE_LIBSERIALPORT=OFF \ -DHAVE_LINUXGPIO=ON define Package/avrdude/conffiles