mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
add feature flag for display support. will be used as dependency for x.org
SVN-Revision: 9448
This commit is contained in:
parent
3260efaa90
commit
41815ee5c8
@ -117,6 +117,9 @@ ifeq ($(DUMP),1)
|
|||||||
ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
|
ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
|
||||||
FEATURES += pcmcia
|
FEATURES += pcmcia
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),)
|
||||||
|
FEATURES += display
|
||||||
|
endif
|
||||||
|
|
||||||
# remove duplicates
|
# remove duplicates
|
||||||
FEATURES:=$(sort $(FEATURES))
|
FEATURES:=$(sort $(FEATURES))
|
||||||
|
@ -151,6 +151,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";
|
||||||
/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";
|
||||||
|
@ -8,6 +8,9 @@ config LINUX_2_4
|
|||||||
config LINUX_2_6
|
config LINUX_2_6
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config DISPLAY_SUPPORT
|
||||||
|
bool
|
||||||
|
|
||||||
config PCI_SUPPORT
|
config PCI_SUPPORT
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user