From f3e1a654a9a21d6831fe6d4f967a4fa3aee262c2 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 de1c05b1..511538c2 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