[oe] [PATCH 2/2] disable static libraries in Angstrom
Stanislav Brabec
utx at penguin.cz
Sun Jan 10 17:10:33 UTC 2010
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
More information about the Openembedded-devel
mailing list