]> code.ossystems Code Review - openembedded-core.git/commit
cmake-native: rationalise system/internal library dependencies
authorRoss Burton <ross.burton@intel.com>
Tue, 13 Sep 2016 14:57:03 +0000 (15:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Sep 2016 14:15:33 +0000 (15:15 +0100)
commitf9366799aaf4ad2b98345743c7129fa94d092880
tree2fd29e43625d00966a9324d9d0b4d2a026603332
parentf863b227e22b67ab239ee6124471fdc14de3f017
cmake-native: rationalise system/internal library dependencies

By default cmake will auto-detect if a library is present on the host and if it
isn't present will use an internal fork.  For some libraries using the internal
fork is preferable as it can be built with less dependencies, but for others
we're either already building it or the impact of building it is comparable to
internal build.

Continue to use the internal fork of libarchive as our libarchive-native has a
large number of build dependencies.  Using the internal libarchive means that
system bzip2 and zlib must be used.

Explicitly use the internal fork of jsoncpp as we don't have this in oe-core.

Explicitly depend on curl-native, expat-native, and xz-native to ensure these
dependencies are not floating.  curl-native is a non-trivial dependency but is
comparable to building the internal fork, so there's no reason to build it
twice.

Change bzip2-native to bzip2-replacement-native as bzip2-native is
ASSUME_PROVIDED.

[ YOCTO #9639 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/cmake/cmake-native_3.6.1.bb