package/openocd: allow CMSIS-DAP support
authorMatt Wood <mattwood2000@gmail.com>
Mon, 7 Jan 2019 17:12:19 +0000 (12:12 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 6 Feb 2019 11:00:13 +0000 (12:00 +0100)
commit5097295a4d3a176012a05eaa2824d1982865bfa8
treec8d1a635dd094b8bdf478b1d5fbf465fe0ea7ae8
parente2d1c38074a8e74a8279d9114e248040e5214c90
package/openocd: allow CMSIS-DAP support

In commit aa441aa84c38ad5319c4ff7fb27c84530e19c204 ("openocd: bump to
version 0.8.0"), some logic in openocd.mk was added to enable
CMSIS-DAP when BR2_PACKAGE_OPENOCD_CMSIS_DAP is enabled, but this
option was not created, because hidapi was not packaged in
Buildroot. This package now exists, so we can create
BR2_PACKAGE_OPENOCD_CMSIS_DAP and really make it possible to build
CMSIS DAP support.

Signed-off-by: Matt Wood <mattwood2000@gmail.com>
[Thomas:
 - rework commit log
 - add missing "depends on" in Config.in]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/openocd/Config.in
package/openocd/openocd.mk