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 <[email protected]>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
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to