San
San

Reputation: 935

How to build only usb-storage.ko?

How can I build usb-storage.ko module for a running kernel distro (ubuntu)

thanks for your response.

Upvotes: 1

Views: 627

Answers (1)

CL.
CL.

Reputation: 180070

You need the kernel source and kernel configuration (just as for compiling the complete kernel).

To build only a single file, tell make about it:

make drivers/usb/storage/usb-storage.ko

Upvotes: 1

Related Questions