[Buildroot] [PATCH 7/8] package/autotools: add --{enable, disable}-{shared, static} automatically

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jun 12 22:16:30 UTC 2011


Le Sun, 12 Jun 2011 21:59:29 +0200,
Peter Korsgaard <jacmet at uclibc.org> a écrit :

> But it does mean that autotools stuff now gets built twice, increasing
> the build time..

It's true that I haven't checked the impact on the build time. Does it
really build libraries twice ? Isn't only the link stage performed
twice ?

If the impact on the build time is too high, then we could probably
make the static library generation conditional. I enabled it so that
the staging directory contains static libraries, which allows users to
statically link their programs against some libraries.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list