avrdude: fix dependencies
authorkrant <aleksey.vasilenko@gmail.com>
Fri, 23 Feb 2024 09:19:45 +0000 (11:19 +0200)
committerRosen Penev <rosenp@gmail.com>
Sat, 24 Feb 2024 20:09:54 +0000 (12:09 -0800)
- 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 <aleksey.vasilenko@gmail.com>
utils/avrdude/Makefile

index 77d7ded1103743c98b6b4ff12ee6b949d0522c58..037bbb861831ea554955085b2aceccfea7fa1adb 100644 (file)
@@ -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