mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 01:03:21 +02:00
add feature flag for display support. will be used as dependency for x.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9448 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fbdb30b9c6
commit
b8bd973764
@ -117,6 +117,9 @@ ifeq ($(DUMP),1)
|
||||
ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
|
||||
FEATURES += pcmcia
|
||||
endif
|
||||
ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),)
|
||||
FEATURES += display
|
||||
endif
|
||||
|
||||
# remove duplicates
|
||||
FEATURES:=$(sort $(FEATURES))
|
||||
|
@ -151,6 +151,7 @@ sub target_config_features(@) {
|
||||
|
||||
while ($_ = shift @_) {
|
||||
/broken/ and $ret .= "\tdepends BROKEN\n";
|
||||
/display/ and $ret .= "\tselect DISPLAY_SUPPORT\n";
|
||||
/pci/ and $ret .= "\tselect PCI_SUPPORT\n";
|
||||
/usb/ and $ret .= "\tselect USB_SUPPORT\n";
|
||||
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
|
||||
|
@ -8,6 +8,9 @@ config LINUX_2_4
|
||||
config LINUX_2_6
|
||||
bool
|
||||
|
||||
config DISPLAY_SUPPORT
|
||||
bool
|
||||
|
||||
config PCI_SUPPORT
|
||||
bool
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user