[LEDE-DEV] [PATCH] x86: add GPIO to FEATURES so kmod-leds-apu2 gets exposed

Stijn Segers francesco.borromini at inventati.org
Fri Jan 27 16:42:04 PST 2017


Chris Blake's patch [1] added support for the APU2/3 LEDs and GPIOs but GPIO
needs to be enabled in FEATURES for x86; since by default it is not, the kmod-leds-apu2
package will not show up in menuconfig.

This patch adds GPIO support to the x86 Makefile so the kmod-leds-apu2 package gets exposed.

Signed-off-by: Stijn Segers <francesco.borromini at inventati.org>

[1] http://patchwork.ozlabs.org/patch/719765/
---
 target/linux/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile
index f371b2ba3a..8b8e13e71d 100644
--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=i386
 BOARD:=x86
 BOARDNAME:=x86
-FEATURES:=squashfs ext4 vdi vmdk pcmcia targz fpu
+FEATURES:=squashfs ext4 vdi vmdk pcmcia targz fpu gpio
 SUBTARGETS:=generic legacy geode 64
 MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 
-- 
2.11.0




More information about the Lede-dev mailing list