From: Jonas Gorski Date: Thu, 4 Jul 2013 13:41:50 +0000 (+0000) Subject: include: also check CONFIG_GPIOLIB for GPIO_SUPPORT X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7547758fd8af280253be1ec0e0d7bd18618a65c4;p=openwrt%2Fsvn-archive%2Farchive.git 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 SVN-Revision: 37166 --- 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),)