1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-23 16:17:36 +02:00

openocd: select new libjaylink

Without the +select, openocd's internal autoselection between internal
libjaylink and external libjaylink can result in linking against
external, without the depends declaration, leading to missing
depdendencies errors.

Hard depend on the external libjaylink, as that's the future direction
anyway.

Reported-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
Karl Palsson 2023-01-20 13:14:40 +00:00
parent a85935cf8f
commit dd48483a60

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openocd PKG_NAME:=openocd
PKG_SOURCE_VERSION:=v0.12.0 PKG_SOURCE_VERSION:=v0.12.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.code.sf.net/p/openocd/code PKG_SOURCE_URL:=https://git.code.sf.net/p/openocd/code
@ -38,7 +38,8 @@ define Package/openocd
DEPENDS:=+libusb-1.0 \ DEPENDS:=+libusb-1.0 \
+libftdi1 \ +libftdi1 \
+hidapi \ +hidapi \
+libgpiod +libgpiod \
+libjaylink
endef endef
define Package/openocd/description define Package/openocd/description