Conditionally compiling libbb/interface.c [PATCH]

Rob Landley rob at landley.net
Fri Oct 7 01:21:25 UTC 2005


On Thursday 06 October 2005 16:59, Shaun Jackman wrote:
> This patch is also needed by newlib, as described below.

And I stand by my earlier comment:

> 2005/4/5, Rob Landley <rob at landley.net>:
> > We really do need to work out proper dependencies for libbb.c.  It takes
> > a LONG time to compile, even if you're only building in two or three
> > busybox applets...
> >
> > Rob

By which I mean the proper fix is in the makefile, not wrapping the entire 
body of the function in an #ifdef.

Remember how vodz redid the dependency checking?  If libbb/interface.c is 
getting compiled when it isn't needed, something needs to be fixed with the 
dependencies.  And when libbb/interface.c _is_ needed, #ifdeffing out the 
entire body of the function is likely to cause problems.

Rob



More information about the busybox mailing list