How to rebuild only changed files?

Tito farmatito at tiscali.it
Wed Apr 22 15:00:55 UTC 2020



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


-------------- 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/370f169d/attachment.asc>


More information about the busybox mailing list