mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
add a gpio feature for devices supporting the generic GPIO interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10879 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
03164df6fe
commit
697a309ede
@ -126,6 +126,9 @@ ifeq ($(DUMP),1)
|
|||||||
.SILENT: $(TMP_CONFIG)
|
.SILENT: $(TMP_CONFIG)
|
||||||
.PRECIOUS: $(TMP_CONFIG)
|
.PRECIOUS: $(TMP_CONFIG)
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_GENERIC_GPIO),)
|
||||||
|
FEATURES += gpio
|
||||||
|
endif
|
||||||
ifneq ($(CONFIG_PCI),)
|
ifneq ($(CONFIG_PCI),)
|
||||||
FEATURES += pci
|
FEATURES += pci
|
||||||
endif
|
endif
|
||||||
|
@ -152,6 +152,7 @@ sub target_config_features(@) {
|
|||||||
while ($_ = shift @_) {
|
while ($_ = shift @_) {
|
||||||
/broken/ and $ret .= "\tdepends BROKEN\n";
|
/broken/ and $ret .= "\tdepends BROKEN\n";
|
||||||
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
|
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
|
||||||
|
/gpio/ and $ret .= "\tselect GPIO_SUPPORT\n";
|
||||||
/pci/ and $ret .= "\tselect PCI_SUPPORT\n";
|
/pci/ and $ret .= "\tselect PCI_SUPPORT\n";
|
||||||
/usb/ and $ret .= "\tselect USB_SUPPORT\n";
|
/usb/ and $ret .= "\tselect USB_SUPPORT\n";
|
||||||
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
||||||
|
@ -11,6 +11,9 @@ config LINUX_2_6
|
|||||||
config DISPLAY_SUPPORT
|
config DISPLAY_SUPPORT
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config GPIO_SUPPORT
|
||||||
|
bool
|
||||||
|
|
||||||
config PCI_SUPPORT
|
config PCI_SUPPORT
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user