diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-14 14:28:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-15 16:28:25 +0000 |
commit | 773c9e18071d71454473dd81aff911104a2e9bc6 (patch) | |
tree | 7800136e73214f7a7f6b4c6bd10c091062a325c2 /.gitignore | |
parent | 60fd4ff61a4ad240a89d48553002901c10e93178 (diff) | |
download | openembedded-core-773c9e18071d71454473dd81aff911104a2e9bc6.tar.gz openembedded-core-773c9e18071d71454473dd81aff911104a2e9bc6.tar.bz2 openembedded-core-773c9e18071d71454473dd81aff911104a2e9bc6.zip |
conf/distro/include: Add no-static-libs.inc
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.
This patch adds a common include file which allows the user or distro
to disable the static libraries in the majority of cases.
There are some libs where we do need the static lib, a good example
being pseudo-native which uses sqlite3-native static libs. These are
left enabled by the include file, as are recipes where --disable-static
doesn't work, or isn't supported. This list can likely be reduced over
time as individual corner cases are addressed.
Maintaining this list in a common location is more desireable than
everyone doing it themselves. Poky will switch to using this, OE-Core
will need to discuss that as its default.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions