When building openocd on aarch64 (RPi3) --enable-bcm2835gpio is ignored,
because host_cpu does not match 'arm*'. Attached is a trivial patch that
worked for me on RPi 3 to build openocd and successfully flash firmware
onto Adafruit BLE dongle. Not sure about the other two interfaces in the
case branch though, perhaps only bcm2835gpio is compatible with aarch64.
--- openocd-0.10.0/configure.ac 2017-01-22 20:30:23.000000000 +0000
+++ openocd-0.10.0/configure.ac 2017-07-12 23:42:35.613596360 +0000
@@ -280,11 +280,11 @@
AC_ARG_ENABLE([ioutil],
AS_HELP_STRING([--enable-ioutil], [Enable ioutil functions - useful for standalone OpenOCD implementations]),
[build_ioutil=$enableval], [build_ioutil=no])
AS_CASE(["${host_cpu}"],
- [arm*], [
+ [aarch64|arm*], [
AC_ARG_ENABLE([ep93xx],
AS_HELP_STRING([--enable-ep93xx], [Enable building support for EP93xx based SBCs]),
[build_ep93xx=$enableval], [build_ep93xx=no])
AC_ARG_ENABLE([at91rm9200],
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel