[oe] [PATCH 2/2] disable static libraries in Angstrom

Koen Kooi k.kooi at student.utwente.nl
Sun Jan 10 18:04:16 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oh, and patches for angstrom should be discussed on the angstrom-devel
ml, not here.

On 10-01-10 18:10, Stanislav Brabec wrote:
> Attached patch disables build of major part of static libraries in the
> Angstrom distribution.
> 
> Rationale:
> 
> Angstrom distribution is intended for project that are typically based
> on multiple packages and use of shared libraries. In such environment,
> static libraries are mostly only a waste of space. Disabling static
> libraries seems to be a smart default.
> 
> diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf
> index 85d6f3f..bddedda 100644
> --- a/conf/distro/angstrom-2008.1.conf
> +++ b/conf/distro/angstrom-2008.1.conf
> @@ -41,6 +41,9 @@ require conf/distro/include/preferred-opie-versions-1.2.4.inc
>  DISTRO_TYPE ?= "debug"
>  #DISTRO_TYPE = "release"
>  
> +# Do not build static libraries by default.
> +export enable_static = "no"
> +
>  # Set the toolchain type (internal, external) and brand (generic, csl etc.)
>  TOOLCHAIN_TYPE ?= "internal"
>  TOOLCHAIN_BRAND ?= ""
> 
> 
> 
> ________________________________________________________________________
> Stanislav Brabec
> http://www.penguin.cz/~utx/zaurus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLShagMkyGM64RGpERAu6jAJ4q5NF/vpB8VD0YRoODwuC6kRlaJACeOdkm
UeWVOTPajY9jqIHdlLTuRbU=
=q5Lc
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list