aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-07-04 13:41:50 +0000
committerJonas Gorski <jogo@openwrt.org>2013-07-04 13:41:50 +0000
commit05ff15a2357107baad4681dff6b392473c467b67 (patch)
tree29302b41e1409fd1582e4da516d29507d72f6a5f /include
parent62cd76ab2c6fecc8daaefe45828a6d71251c92cd (diff)
downloadupstream-05ff15a2357107baad4681dff6b392473c467b67.tar.gz
upstream-05ff15a2357107baad4681dff6b392473c467b67.tar.bz2
upstream-05ff15a2357107baad4681dff6b392473c467b67.zip
include: also check CONFIG_GPIOLIB for GPIO_SUPPORT
Recent kernels removed GENERIC_GPIO and require GPIO capable targets to select GPIOLIB instead, so check for both symbols. Fixed #13814. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37166
Diffstat (limited to 'include')
-rw-r--r--include/target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index 7a704e2206..eeabb25f37 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -163,7 +163,7 @@ ifeq ($(DUMP),1)
.SILENT: $(TMP_CONFIG)
.PRECIOUS: $(TMP_CONFIG)
- ifneq ($(CONFIG_GENERIC_GPIO),)
+ ifneq ($(CONFIG_GENERIC_GPIO)$(CONFIG_GPIOLIB),)
FEATURES += gpio
endif
ifneq ($(CONFIG_PCI),)