How to rebuild only changed files?

Tito farmatito at tiscali.it
Wed Apr 22 19:35:24 UTC 2020


On 4/22/20 5:00 PM, Tito wrote:
> 
> 
> On 4/22/20 4:17 PM, Wolf wrote:
>> Hello,
>>
>> I would like to ask about some tips for developing the busybox.
>> Currently I just
>>
>> 	make defconfig
>> 	make -j8
>>
>> which seems to work fine and produces busybox binary. However, making
>> tiny change to findutils/grep.c (in my case) and running the make again,
>> it rebuilds *lots* of stuff. I would expect to rebuild just the
>> findutils/grep.o and then do some linking.
>>
>> And my question is, is something I'm doing wrong? Should I define some
>> flags somewhere or build some specific target for the make? Or busybox's
>> makefile does not support incremental build like this?
>>
>>
>>
>> Thank you for your time,
>> W.
>>
>>
> Hi,
> just do:
> make -j8
> 
> Ciao,
> Tito
> 
> 

Hi,

out of curiosity what are the mount options of your building directory?

Ciao,
Tito

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20200422/f5ab3e6f/attachment.asc>


More information about the busybox mailing list