openocd: select new libjaylink
authorKarl Palsson <karlp@etactica.com>
Fri, 20 Jan 2023 13:14:40 +0000 (13:14 +0000)
committerKarl Palsson <karlp@etactica.com>
Fri, 20 Jan 2023 13:17:30 +0000 (13:17 +0000)
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>
utils/openocd/Makefile

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