2006-08-02 14:30:16

by Diego Calleja

[permalink] [raw]
Subject: [PATCH]: quickcam_messenger compilation fix

In bugzilla #6943, Maxim Britov reported:

"I can enable Logitech quickcam support in .config, but it want be compile.
I have to add into drivers/media/video/Makefile:
obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += usbvideo/"

He's right, just enable that driver as module while disabling every other
driver that gets into that directory, nothing will get compiled.
This patch fixes the Makefile.

Signed-off-by: Diego Calleja <[email protected]>

Index: 2.6/drivers/media/video/Makefile
===================================================================
--- 2.6.orig/drivers/media/video/Makefile 2006-08-02 16:22:40.000000000 +0200
+++ 2.6/drivers/media/video/Makefile 2006-08-02 16:22:51.000000000 +0200
@@ -91,6 +91,7 @@
obj-$(CONFIG_USB_IBMCAM) += usbvideo/
obj-$(CONFIG_USB_KONICAWC) += usbvideo/
obj-$(CONFIG_USB_VICAM) += usbvideo/
+obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += usbvideo/

obj-$(CONFIG_VIDEO_VIVI) += vivi.o


2006-08-02 15:56:55

by Michael Ira Krufky

[permalink] [raw]
Subject: Re: [PATCH]: quickcam_messenger compilation fix

Diego Calleja wrote:
> In bugzilla #6943, Maxim Britov reported:
>
> "I can enable Logitech quickcam support in .config, but it want be compile.
> I have to add into drivers/media/video/Makefile:
> obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += usbvideo/"
>
> He's right, just enable that driver as module while disabling every other
> driver that gets into that directory, nothing will get compiled.
> This patch fixes the Makefile.
>
> Signed-off-by: Diego Calleja <[email protected]>
>
> Index: 2.6/drivers/media/video/Makefile
> ===================================================================
> --- 2.6.orig/drivers/media/video/Makefile 2006-08-02 16:22:40.000000000 +0200
> +++ 2.6/drivers/media/video/Makefile 2006-08-02 16:22:51.000000000 +0200
> @@ -91,6 +91,7 @@
> obj-$(CONFIG_USB_IBMCAM) += usbvideo/
> obj-$(CONFIG_USB_KONICAWC) += usbvideo/
> obj-$(CONFIG_USB_VICAM) += usbvideo/
> +obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += usbvideo/
>
> obj-$(CONFIG_VIDEO_VIVI) += vivi.o
>

Acked-by: Michael Krufky <[email protected]>