On Tue, Feb 18, 2014 at 12:04:23AM +0700, konstunn@xxxxxx wrote: > Greetings. > > How can I build USB/IP kernel modules and userspace tools > sparsely from linux kernel tree? > > > I've tried > > make O=/home/build/directory/ drivers/staging/usbip/ > > but this only compiles .c files to .o files, but doesn't > link them to kernel object .ko files. make M=drivers/staging/usbip O=/home/build/directory/ should work. > And I need to build userspace tools sparsely as well. cd drivers/staging/usbip/userspace ./autogen.sh ./configure make hope this helps, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html