Re: [-mm patch] USB_LIBUSUAL shouldn't be user-visible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux