| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] make qemu buildable without CONFIG_VT |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Fri, 10 Feb 2006 00:51:04 +0900 (JST) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
diff --git a/arch/mips/qemu/Makefile b/arch/mips/qemu/Makefile
index 11189fa..5f34a85 100644
--- a/arch/mips/qemu/Makefile
+++ b/arch/mips/qemu/Makefile
@@ -2,4 +2,5 @@
# Makefile for Qemu specific kernel interface routines under Linux.
#
-obj-y = q-firmware.o q-int.o q-irq.o q-mem.o q-setup.o q-vga.o
+obj-y = q-firmware.o q-int.o q-irq.o q-mem.o q-setup.o
+obj-$(CONFIG_VT) = q-vga.o
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c
index 32c3d4c..acf0f5b 100644
--- a/arch/mips/qemu/q-setup.c
+++ b/arch/mips/qemu/q-setup.c
@@ -23,6 +23,8 @@ static void __init qemu_timer_setup(stru
void __init plat_setup(void)
{
set_io_port_base(QEMU_PORT_BASE);
+#ifdef CONFIG_VT
qvga_init();
+#endif
board_timer_setup = qemu_timer_setup;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver., Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver., Atsushi Nemoto |
| Previous by Thread: | [PATCH] Fix build error by removal of obsoleted au1x00_uart driver., Atsushi Nemoto |
| Next by Thread: | changing the page properties to cached/uncached, Niels Sterrenburg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |