From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Tue, 09 Jul 2013 10:21:08 -0400 Subject: Rebuild a changed kernel quickly with make? In-Reply-To: Your message of "Tue, 09 Jul 2013 13:16:53 +0530." References: <51D5171C.2030204@posteo.de> Message-ID: <36108.1373379668@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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// > > 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 865 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130709/f9ecbab1/attachment.bin