From: Stijn Tintel Date: Sat, 20 Aug 2022 22:12:53 +0000 (+0300) Subject: openocd: enable bcm2835gpio on bcm27xx X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d1a292353e35a8cf2d6c1274a0ae12f0f11f718b;p=openwrt-packages.git openocd: enable bcm2835gpio on bcm27xx Signed-off-by: Stijn Tintel --- diff --git a/utils/openocd/Makefile b/utils/openocd/Makefile index de1c05b1d..511538c2d 100644 --- a/utils/openocd/Makefile +++ b/utils/openocd/Makefile @@ -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