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
This commit is contained in:
parent
62cd76ab2c
commit
05ff15a235
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ ifeq ($(DUMP),1)
|
||||||
.SILENT: $(TMP_CONFIG)
|
.SILENT: $(TMP_CONFIG)
|
||||||
.PRECIOUS: $(TMP_CONFIG)
|
.PRECIOUS: $(TMP_CONFIG)
|
||||||
|
|
||||||
ifneq ($(CONFIG_GENERIC_GPIO),)
|
ifneq ($(CONFIG_GENERIC_GPIO)$(CONFIG_GPIOLIB),)
|
||||||
FEATURES += gpio
|
FEATURES += gpio
|
||||||
endif
|
endif
|
||||||
ifneq ($(CONFIG_PCI),)
|
ifneq ($(CONFIG_PCI),)
|
||||||
|
|
Loading…
Reference in a new issue