Skip to contentSkip to conversation

poky: Disable static libs by default

PATCH New Richard Purdie 1 participant 1 message Feb 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: Disable static libs by default

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.

meta-yocto/conf/distro/poky.conf +1 -0
index ede728d..55bc190 100644
@@ -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