powerpc: udbg based backend for hvc_console

Timur Tabi timur at freescale.com
Tue Nov 18 07:18:31 EST 2008


On Thu, Oct 23, 2008 at 9:54 PM, David Gibson
<david at gibson.dropbear.id.au> wrote:

One other thing ...

> --- working-2.6.orig/drivers/char/Makefile      2008-10-22 15:50:59.000000000 +1100
> +++ working-2.6/drivers/char/Makefile   2008-10-24 14:22:59.000000000 +1100
> @@ -50,6 +50,7 @@ obj-$(CONFIG_HVC_BEAT)                += hvc_beat.o
>  obj-$(CONFIG_HVC_DRIVER)       += hvc_console.o
>  obj-$(CONFIG_HVC_IRQ)          += hvc_irq.o
>  obj-$(CONFIG_HVC_XEN)          += hvc_xen.o
> +obj-$(CONFIG_HVC_UDBG)         += hvc_udbg.o

HVC console drivers must be compiled before hvc_console.o, so the
above should look like this:

obj-$(CONFIG_HVC_XEN)          += hvc_xen.o
obj-$(CONFIG_HVC_UDBG)         += hvc_udbg.o
obj-$(CONFIG_HVC_DRIVER)       += hvc_console.o
obj-$(CONFIG_HVC_IRQ)          += hvc_irq.o

see http://git.kernel.org/?p=linux/kernel/git/paulus/powerpc.git;a=commit;h=938473b24636d77dc5e9c3f41090d071b6cf4389

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list