From d1a292353e35a8cf2d6c1274a0ae12f0f11f718b Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sun, 21 Aug 2022 01:12:53 +0300 Subject: [PATCH] openocd: enable bcm2835gpio on bcm27xx Signed-off-by: Stijn Tintel --- utils/openocd/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/openocd/Makefile b/utils/openocd/Makefile index de1c05b1d8..511538c2d8 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 -- 2.30.2