* [PATCH 2/2] disable static libraries in Angstrom
@ 2010-01-10 17:10 Stanislav Brabec
2010-01-10 18:02 ` Koen Kooi
2010-01-10 18:04 ` Koen Kooi
0 siblings, 2 replies; 5+ messages in thread
From: Stanislav Brabec @ 2010-01-10 17:10 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] disable static libraries in Angstrom
2010-01-10 17:10 [PATCH 2/2] disable static libraries in Angstrom Stanislav Brabec
@ 2010-01-10 18:02 ` Koen Kooi
2010-01-10 19:33 ` Stanislav Brabec
2010-01-10 18:04 ` Koen Kooi
1 sibling, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2010-01-10 18:02 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10-01-10 18:10, Stanislav Brabec wrote:
> Attached patch disables build of major part of static libraries in the
> Angstrom distribution.
NAK
> Rationale:
>
> Angstrom distribution is intended for project that are typically based
> on multiple packages and use of shared libraries.
Yes, but...
> In such environment,
> static libraries are mostly only a waste of space.
Static libs are packaged in seperate packages, so they only 'waste'
space on the feed server.
> Disabling static libraries seems to be a smart default.
It isn't there are a lot of people using the static libs we provide for
the applications. No need to stab them in the eye.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLShYxMkyGM64RGpERAhSSAJ4/lJ0EOSLpe5YZoFBpeam6hVqc5ACfUcuA
V+XGBg2Hnxl1w74iJ9Oglug=
=yY8p
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] disable static libraries in Angstrom
2010-01-10 17:10 [PATCH 2/2] disable static libraries in Angstrom Stanislav Brabec
2010-01-10 18:02 ` Koen Kooi
@ 2010-01-10 18:04 ` Koen Kooi
1 sibling, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2010-01-10 18:04 UTC (permalink / raw)
To: openembedded-devel
-----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-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] disable static libraries in Angstrom
2010-01-10 18:02 ` Koen Kooi
@ 2010-01-10 19:33 ` Stanislav Brabec
2010-01-11 11:09 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Stanislav Brabec @ 2010-01-10 19:33 UTC (permalink / raw)
To: openembedded-devel
Jan 10, 2010 19:02:25 Koen Kooi wrote:
> On 10-01-10 18:10, Stanislav Brabec wrote:
> > Attached patch disables build of major part of static libraries in
> the
> > Angstrom distribution.
>
> NAK
> Static libs are packaged in seperate packages, so they only 'waste'
> space on the feed server.
OK, in this case, patch 1/2 can exist standalone and people can set
their local.conf as they want. Comment can be changed appropriately.
Even the part in bitbake.conf may be removed (yes+yes is the default)
and configuration may be completely moved to the local.conf.sample.
The primary goal of this patch is a decreasing of feed size and
compilation time, which is useful especially for custom builds.
--
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] disable static libraries in Angstrom
2010-01-10 19:33 ` Stanislav Brabec
@ 2010-01-11 11:09 ` Koen Kooi
0 siblings, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2010-01-11 11:09 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I repeat: you need to discuss things like this on the angstrom-devel ml
On 10-01-10 20:33, Stanislav Brabec wrote:
> Jan 10, 2010 19:02:25 Koen Kooi wrote:
>> On 10-01-10 18:10, Stanislav Brabec wrote:
>>> Attached patch disables build of major part of static libraries in
>> the
>>> Angstrom distribution.
>>
>> NAK
>
>> Static libs are packaged in seperate packages, so they only 'waste'
>> space on the feed server.
>
> OK, in this case, patch 1/2 can exist standalone and people can set
> their local.conf as they want. Comment can be changed appropriately.
> Even the part in bitbake.conf may be removed (yes+yes is the default)
> and configuration may be completely moved to the local.conf.sample.
>
> The primary goal of this patch is a decreasing of feed size and
> compilation time, which is useful especially for custom builds.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLSwcGMkyGM64RGpERAoQ8AKClJitbRzaoBdx0CblffAItrhvWbgCfbQ0S
kkhQnUOhYfpx4EsZOOjP96I=
=Unc2
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-01-11 11:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 17:10 [PATCH 2/2] disable static libraries in Angstrom Stanislav Brabec
2010-01-10 18:02 ` Koen Kooi
2010-01-10 19:33 ` Stanislav Brabec
2010-01-11 11:09 ` Koen Kooi
2010-01-10 18:04 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.