public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* Fw: [linuxtv-commits] [hg:v4l-dvb] uvc: Fix compilation breakage for the other drivers, if uvc is selected
@ 2008-07-02 12:06 Mauro Carvalho Chehab
  2008-07-03  4:45 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2008-07-02 12:06 UTC (permalink / raw)
  To: Stephen Rothwell, linux-next

Hi Stephen,

I noticed a bad thing on a patch that I've added to linux-next. Basically, if
you select uvc, it will drop some other drivers. So, your today build is
probably incomplete.

I'm adding this patch to my linux-next tree.

The error and its fix is trivial.

It would be nice if we have a tool to get this error. I only noticed the
problem due to the large decrease of the compilation time.

Cheers,
Mauro.

------

From: Mauro Carvalho Chehab  <mchehab@infradead•org>
uvc: Fix compilation breakage for the other drivers, if uvc is selected


UVC makefile defines obj as:
	obj-$(CONFIG_USB_VIDEO_CLASS) := uvcvideo.o
Instead of:
	obj-$(CONFIG_USB_VIDEO_CLASS) += uvcvideo.o

Due to that, if uvc is selected, all obj-y or obj-m that were added to
compilation were forget. This breaks a proper kernel build.

Acked-by: Laurent Pinchart <laurent.pinchart@skynet•be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead•org>


---

 linux/drivers/media/video/uvc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r d51bf59f63b5 -r 02cda7958a05 linux/drivers/media/video/uvc/Makefile
--- a/linux/drivers/media/video/uvc/Makefile	Tue Jul 01 17:20:13 2008 -0300
+++ b/linux/drivers/media/video/uvc/Makefile	Wed Jul 02 08:03:33 2008 -0300
@@ -1,3 +1,3 @@ uvcvideo-objs  := uvc_driver.o uvc_queue
 uvcvideo-objs  := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o uvc_ctrl.o \
 		  uvc_status.o uvc_isight.o
-obj-$(CONFIG_USB_VIDEO_CLASS) := uvcvideo.o
+obj-$(CONFIG_USB_VIDEO_CLASS) += uvcvideo.o


---

Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/02cda7958a05b568b2851aeb88b57dba8fb77eb9

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv•org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits




Cheers,
Mauro

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-03  4:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 12:06 Fw: [linuxtv-commits] [hg:v4l-dvb] uvc: Fix compilation breakage for the other drivers, if uvc is selected Mauro Carvalho Chehab
2008-07-03  4:45 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox