Re: Rebuild a changed kernel quickly with make?

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

 



Hi Martin,

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.

Thank you,

Regards,
Srinivas


On Thu, Jul 4, 2013 at 12:03 PM, Martin Kepplinger <martink@xxxxxxxxx> wrote:
Hi.

When I change something in the kernel and just hit make from toplevel
dir, it always compiles everything again, no matter if it wasn't changed
at all in the meantime.
I thought make should be able to make a second build time really quick.
What am I doing wrong? Is there a make target I don't know of? I don't
type in any, just make.

thanks,

                    martin

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

_______________________________________________
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