openocd: enable bcm2835gpio on bcm27xx 19217/head
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 20 Aug 2022 22:12:53 +0000 (01:12 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Sun, 21 Aug 2022 13:48:50 +0000 (16:48 +0300)
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
utils/openocd/Makefile

index de1c05b1d81119851503e2ca2e27441233d719c4..511538c2d8ca3f9907b021733dab278d2ac410e3 100644 (file)
@@ -73,6 +73,10 @@ CONFIGURE_ARGS += \
        --enable-sysfsgpio \
        --enable-linuxgpiod
 
+ifeq ($(CONFIG_TARGET_bcm27xx),y)
+       CONFIGURE_ARGS += --enable-bcm2835gpio
+endif
+
 TARGET_CFLAGS += -DRELSTR=\\\"-$(PKG_VERSION)-$(PKG_RELEASE)-OpenWrt\\\"
 
 define Build/Compile