[poky] [PATCH] poky: Disable static libs by default
Richard Purdie
richard.purdie at linuxfoundation.org
Sun Feb 14 06:32:13 PST 2016
Static libraries are old technology. We've left them around since in
previous tests, they only added around 5% to the overall build time.
With new and interesting uses of OE, they're becoming more problematic.
For example, sstate becomes much larger with static libs enabled which
increases the size of eSDK and increases the time taken for sstate
operations. Since the static libs contain all the debugging symbols,
they're also pretty huge.
Therefore use the common include which enables this from OE-Core.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index ede728d..55bc190 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -101,3 +101,4 @@ WARN_QA_remove = "${WARN_TO_ERROR_QA}"
ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
require conf/distro/include/poky-world-exclude.inc
+require conf/distro/include/no-static-libs.inc
More information about the poky
mailing list