Re: [PATCH] fbdev: Allow core fb to be built as a module

From: Olaf Hering
Date: Wed Mar 16 2005 - 17:36:46 EST


On Fri, Mar 11, Linux Kernel Mailing List wrote:

> ChangeSet 1.2187, 2005/03/10 09:14:07-08:00, jonsmirl@xxxxxxxxx
>
> [PATCH] fbdev: Allow core fb to be built as a module
>
> Allow the framebuffer core to be built as a module to ease debugging.

> diff -Nru a/drivers/video/Makefile b/drivers/video/Makefile
> --- a/drivers/video/Makefile 2005-03-10 11:04:46 -08:00
> +++ b/drivers/video/Makefile 2005-03-10 11:04:46 -08:00
> @@ -8,11 +8,9 @@
> obj-$(CONFIG_LOGO) += logo/
> obj-$(CONFIG_SYSFS) += backlight/
>
> -obj-$(CONFIG_FB) += fbmem.o fbmon.o fbcmap.o fbsysfs.o modedb.o
> -# Only include macmodes.o if we have FB support and are PPC
> -ifeq ($(CONFIG_FB),y)
> -obj-$(CONFIG_PPC) += macmodes.o
> -endif
> +obj-$(CONFIG_FB) += fb.o
> +fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o modedb.o
> +fb-objs := $(fb-y)
>
> obj-$(CONFIG_FB_CFB_FILLRECT) += cfbfillrect.o
> obj-$(CONFIG_FB_CFB_COPYAREA) += cfbcopyarea.o

How do we get macmodes back?

drivers/built-in.o(.text+0x20508): In function `.matroxfb_probe':
: undefined reference to `.mac_vmode_to_var'
make[1]: *** [.tmp_vmlinux1] Error 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/