Re: Rebuild a changed kernel quickly with make?

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

 



On Tue, 09 Jul 2013 13:16:53 +0530, Srinivas Ganji said:

> You can pass the name of the target to the make for building only the
> specified files and objects. Suppose, if I changed some modifications in
> storage files, then I need to do make as shown below, from the top level
> directory i.e. /usr/src/<linux-kernel>/
>
> make M=drivers/usb/storage
>
> I hope this helps to you. I got the same problem earlier and I fixed like
> this.

This is good for testing, but do *not* bet on this producing a working kernel.
It's possible to build a module that doesn't match the rest of
your kernel, resulting in hard-to-debug oopses.

Attachment: pgpa4dNLY4enE.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux