diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-10-25 21:08:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-10-25 21:08:46 +0000 |
commit | 41815ee5c8e09f3d3fca0e38045d99f9f4da5e12 (patch) | |
tree | 728237f613182dc5ceed091bb13e04aa37158684 | |
parent | 3260efaa9077daf36ba42d834b0985582b58a7fc (diff) | |
download | upstream-41815ee5c8e09f3d3fca0e38045d99f9f4da5e12.tar.gz upstream-41815ee5c8e09f3d3fca0e38045d99f9f4da5e12.tar.bz2 upstream-41815ee5c8e09f3d3fca0e38045d99f9f4da5e12.zip |
add feature flag for display support. will be used as dependency for x.org
SVN-Revision: 9448
-rw-r--r-- | include/target.mk | 3 | ||||
-rwxr-xr-x | scripts/metadata.pl | 1 | ||||
-rw-r--r-- | target/Config.in | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk index 9156789c88..757d178ab3 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 f84bd462fa..914b5127b4 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 0c8864f3ed..2dc5ec4245 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 |