]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
build: consolidate CONFIG_HAS_VGA and CONFIG_VGA
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 29 Feb 2016 15:08:43 +0000 (16:08 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 15 Mar 2016 16:32:31 +0000 (16:32 +0000)
No real advantage to keeping these separate. The use case of this from
Linux is when the platform or target board has support for something but
the user wants to be given the option to disable it.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig
xen/drivers/video/Kconfig
xen/drivers/video/Makefile
xen/include/asm-x86/config.h

index ca233b7dd4db957ac077282dbf21239a46be0a0e..73f79cc3eadf5f6dceeb5ef6dd263918cae8925f 100644 (file)
@@ -19,8 +19,8 @@ config X86
        select HAS_PASSTHROUGH
        select HAS_PCI
        select HAS_PDX
-       select HAS_VGA
        select NUMA
+       select VGA
 
 config ARCH_DEFCONFIG
        string
index 8b25694b3259e14bd8214205a21aa8c387d2a1cc..03e1e18ae8fecf09a94eafb9c42c7fcd0ffde2d8 100644 (file)
@@ -3,8 +3,8 @@
 config HAS_VIDEO
        bool
 
-# Select HAS_VGA if VGA is supported
-config HAS_VGA
+# Select VGA if VGA is supported
+config VGA
        bool
        select HAS_VIDEO
 
index b9b5e2347e914b0e5e4f71a56af87df3be4772a9..fab7aba70d572776f8b3dbacec35261f92855a49 100644 (file)
@@ -1,7 +1,7 @@
-obj-$(CONFIG_HAS_VGA) := vga.o
+obj-$(CONFIG_VGA) := vga.o
 obj-$(CONFIG_HAS_VIDEO) += font_8x14.o
 obj-$(CONFIG_HAS_VIDEO) += font_8x16.o
 obj-$(CONFIG_HAS_VIDEO) += font_8x8.o
 obj-$(CONFIG_HAS_VIDEO) += lfb.o
-obj-$(CONFIG_HAS_VGA) += vesa.o
+obj-$(CONFIG_VGA) += vesa.o
 obj-$(CONFIG_HAS_ARM_HDLCD) += arm_hdlcd.o
index 08addfb8a4c80b3664cb536b2b4204bc1a973cc2..004a7f6a2f0cba0ddc235e2eba0a153f05769476 100644 (file)
@@ -42,7 +42,6 @@
 #define CONFIG_ACPI_SRAT 1
 #define CONFIG_ACPI_CSTATE 1
 
-#define CONFIG_VGA 1
 #define CONFIG_VIDEO 1
 
 #define CONFIG_WATCHDOG 1