From: nbd Date: Thu, 25 Oct 2007 21:08:46 +0000 (+0000) Subject: add feature flag for display support. will be used as dependency for x.org X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/b8bd973764aef108dc049807b32ed61ccf5694bc 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 --- diff --git a/include/target.mk b/include/target.mk index 9156789c8..757d178ab 100644 --- a/include/target.mk +++ b/include/target.mk @@ -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)) diff --git a/scripts/metadata.pl b/scripts/metadata.pl index f84bd462f..914b5127b 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -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"; diff --git a/target/Config.in b/target/Config.in index 0c8864f3e..2dc5ec424 100644 --- a/target/Config.in +++ b/target/Config.in @@ -8,6 +8,9 @@ config LINUX_2_4 config LINUX_2_6 bool +config DISPLAY_SUPPORT + bool + config PCI_SUPPORT bool