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 <aleksey.vasilenko@gmail.com>
This commit is contained in:
krant 2024-02-23 11:19:45 +02:00 committed by Rosen Penev
parent c1b4e80825
commit a58ce16a02
1 changed files with 6 additions and 2 deletions

View 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