[BusyBox] Conditionally compiling libbb/interface.c [PATCH]

Rob Landley rob at landley.net
Wed Apr 6 04:47:49 UTC 2005


On Tuesday 05 April 2005 02:06 pm, Shaun Jackman wrote:
> libbb/interface.c does not compile with newlib due to a number of
> undefined structures, structure members, and preprocessor definitions.
> libbb/interface.o could be conditionally compiled only if it's needed
> by an applet, but the framework is not currently in busybox to
> conditionally compile library objects. A simple solution is to wrap
> interface.c in an indicative ifdef. I used SIOCGIFCONF for this
> purpose. This is not the one and only solution though, so do speak up
> if anyone has another suggestion.

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



More information about the busybox mailing list