add a gpio feature for devices supporting the generic GPIO interface
[openwrt/svn-archive/archive.git] / include / target.mk
index 4f10a3d..ce842da 100644 (file)
@@ -126,6 +126,9 @@ ifeq ($(DUMP),1)
     .SILENT: $(TMP_CONFIG)
     .PRECIOUS: $(TMP_CONFIG)
 
+    ifneq ($(CONFIG_GENERIC_GPIO),)
+      FEATURES += gpio
+    endif
     ifneq ($(CONFIG_PCI),)
       FEATURES += pci
     endif