[Buildroot] [PATCH] infra: BR2_PREFER_STATIC_LIB now selects static building of packages
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Oct 12 15:56:32 UTC 2014
Dear Alexey Brodkin,
On Sun, 12 Oct 2014 17:34:00 +0200, Alexey Brodkin wrote:
> With time BR2_PREFER_STATIC_LIB option meaning changed from "prefer static
> libs when possible" to "do not build dynamic libs and build statically linked
> applications".
>
> This patch changes variable description and takes care of uClibc settings so
> it doesn't build shared libs.
>
> Note that variable name is kept unchanged on purpose - it will be modified later
> when real "prefer static" mode will be introduced.
>
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
> Cc: Peter Korsgaard <peter at korsgaard.com>
> ---
> Config.in | 14 ++++++++------
> package/uclibc/uClibc-0.9.31.config | 1 -
> package/uclibc/uClibc-0.9.33.config | 1 -
> package/uclibc/uClibc-snapshot.config | 1 -
> package/uclibc/uclibc.mk | 11 +++++++++++
> 5 files changed, 19 insertions(+), 9 deletions(-)
This should definitely be two separate patches. One updating the
BR2_PREFER_STATIC_LIB description, and one making sure that uClibc
obeys to the correct semantic of BR2_PREFER_STATIC_LIB.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list