lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 11 Nov 2005 01:14:36 -0800
FromPete Zaitcev <>
SubjectRe: [-mm patch] USB_LIBUSUAL shouldn't be user-visible
I finally received a .config from Reuben Farrelly and reproduced the problem.
The libusual.o is being built, but not linked into the kernel image.

---
Never one to ignore a good idea, I propose to take a segment of
Adrian's patch which addresses this particular problem:

> --- linux-2.6.14-mm1-full/drivers/usb/Makefile.old	2005-11-08 01:31:00.000000000 +0100
> +++ linux-2.6.14-mm1-full/drivers/usb/Makefile	2005-11-08 01:31:26.000000000 +0100
> @@ -22,6 +22,7 @@
>  obj-$(CONFIG_USB_PRINTER)	+= class/
> 
>  obj-$(CONFIG_USB_STORAGE)	+= storage/
> +obj-$(CONFIG_USB_LIBUSUAL)	+= storage/
> 
>  obj-$(CONFIG_USB_AIPTEK)	+= input/
>  obj-$(CONFIG_USB_ATI_REMOTE)	+= input/

With a small change, this seems to work fine with the supplied .config.
Also I have tested my usual build modes and added Reuben's configuration
to my testing list.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>

diff -urp -X dontdiff linux-2.6.14-mm1/drivers/usb/Makefile linux-2.6.14-mm1-reub/drivers/usb/Makefile
--- linux-2.6.14-mm1/drivers/usb/Makefile	2005-11-10 23:18:32.000000000 -0800
+++ linux-2.6.14-mm1-reub/drivers/usb/Makefile	2005-11-11 01:01:31.000000000 -0800
@@ -22,6 +22,7 @@ obj-$(CONFIG_USB_MIDI)		+= class/
 obj-$(CONFIG_USB_PRINTER)	+= class/
 
 obj-$(CONFIG_USB_STORAGE)	+= storage/
+obj-$(CONFIG_USB)		+= storage/
 
 obj-$(CONFIG_USB_AIPTEK)	+= input/
 obj-$(CONFIG_USB_ATI_REMOTE)	+= input/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-11-11 09:18    [from the cache]
©2003-2008