openocd: fix package dependencies

OpenOCD autoselects libftdi1 when it's present, and should explicitly
depend on it, same about libusb-0.1 API which is provided by
libusb-compat.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Paul Fertser 2015-02-03 17:11:37 +03:00
parent d654a226fb
commit ad9ae24a29

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openocd PKG_NAME:=openocd
PKG_VERSION:=v0.8.0-258-gd537cfa PKG_VERSION:=v0.8.0-258-gd537cfa
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://git.code.sf.net/p/openocd/code PKG_SOURCE_URL:=git://git.code.sf.net/p/openocd/code
@ -32,7 +32,7 @@ define Package/openocd
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=OpenOCD Utility TITLE:=OpenOCD Utility
URL:=http://openocd.sf.net/ URL:=http://openocd.sf.net/
DEPENDS:=+libusb-1.0 +libftdi +hidapi DEPENDS:=+libusb-1.0 +libusb-compat +libftdi1 +hidapi
endef endef
define Package/openocd/description define Package/openocd/description