add feature flag for display support. will be used as dependency for x.org
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 25 Oct 2007 21:08:46 +0000 (21:08 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 25 Oct 2007 21:08:46 +0000 (21:08 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9448 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/target.mk
scripts/metadata.pl
target/Config.in

index 9156789..757d178 100644 (file)
@@ -117,6 +117,9 @@ ifeq ($(DUMP),1)
     ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
       FEATURES += pcmcia
     endif
     ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
       FEATURES += pcmcia
     endif
+    ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),)
+      FEATURES += display
+    endif
 
     # remove duplicates
     FEATURES:=$(sort $(FEATURES))
 
     # remove duplicates
     FEATURES:=$(sort $(FEATURES))
index f84bd46..914b512 100755 (executable)
@@ -151,6 +151,7 @@ sub target_config_features(@) {
 
        while ($_ = shift @_) {
                /broken/ and $ret .= "\tdepends BROKEN\n";
 
        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";
                /pci/ and $ret .= "\tselect PCI_SUPPORT\n";
                /usb/ and $ret .= "\tselect USB_SUPPORT\n";
                /pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
index 0c8864f..2dc5ec4 100644 (file)
@@ -8,6 +8,9 @@ config LINUX_2_4
 config LINUX_2_6
        bool
 
 config LINUX_2_6
        bool
 
+config DISPLAY_SUPPORT
+       bool
+
 config PCI_SUPPORT
        bool
 
 config PCI_SUPPORT
        bool
 
This page took 0.025589 seconds and 4 git commands to generate.