Building additional binaries

Shaun Jackman sjackman at gmail.com
Wed Jul 5 15:20:42 UTC 2006


On 7/5/06, Jason Schoon <floydpink at gmail.com> wrote:
> Seems (to me) like we should do something similar to the Linux kernel.
>  They still have those options to choose whether you want support for
> a.out, ELF, etc.

The trend in Busybox has been to relegate configure options related to
the build system into .config.mak, out of the make config system.
Adding `all: busybox' to .config.mak works when building from the
top-level directory, but breaks running make in other subdirectories.
The top-level Makefile declares _all to be the default target before
it includes .config.mak, but the subdirectories do not do this. So,
adding an `all: busybox' to config.mak causes all -- instead of
libbb.a, for example -- to become the default target for the
subdirectories.

Cheers,
Shaun



More information about the busybox mailing list