Messages in this thread Patch in this message |  | | | From | Keith Owens <> | | Subject | Re: 2.4.0-test9-pre8, usb, unresolved symbols | | Date | Thu, 19 Oct 2000 19:18:49 +1100 |
| |
On Wed, 18 Oct 2000 22:20:15 -0700, Greg KH <greg@wirex.com> wrote: >> >Keith Owens wrote: >> >> +obj-$(CONFIG_USB) += usbcore.o usb.o >I don't think that would work, for if the USB core code is compiled as a >module, then usb.o has to be part of usbcore.o, or am I missing >something here?
See conclusion, jump to conclusion :(. There was a missing line from the boilerplate conversion of lists to old style Makefile variables. Forget my previous patch, use this one. Against 2.4.0-test10-pre4.
Index: 0-test10-pre4.1/drivers/usb/Makefile --- 0-test10-pre4.1/drivers/usb/Makefile Mon, 02 Oct 2000 15:28:44 +1100 kaos (linux-2.4/n/b/19_Makefile 1.1.1.10 644) +++ 0-test10-pre4.1(w)/drivers/usb/Makefile Thu, 19 Oct 2000 19:05:04 +1100 kaos (linux-2.4/n/b/19_Makefile 1.1.1.10 644) @@ -99,6 +99,10 @@ obj-m := $(filter-out $(obj-y), $(obj-m)) int-m := $(filter-out $(int-y), $(int-m)) +# Take multi-part drivers out of obj-y and put components in. + +obj-y := $(filter-out $(list-multi), $(obj-y)) $(int-y) + # Translate to Rules.make lists. O_OBJS := $(filter-out $(export-objs), $(obj-y)) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |