diff options
author | Thomas Witt <Thomas.Witt@bmw.de> | 2016-08-22 16:27:11 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 15:27:05 +0100 |
commit | d9369d1ea055a20e5fc8747b0e38916dd6d604a5 (patch) | |
tree | a34916627816d883d4b6b6a1b05b002c0326b370 /meta/classes/bin_package.bbclass | |
parent | 17e4586d6ec991e4b40105c9be0e1ce848c44799 (diff) | |
download | poky-d9369d1ea055a20e5fc8747b0e38916dd6d604a5.tar.gz |
cmake.bbclass: call cmake with a relative path
CMake wants a relative path for CMAKE_INSTALL_*DIR, an absolute path
breaks cross-compilation. This fact is documented in the following
ticket: https://cmake.org/Bug/view.php?id=14367
$sysconfdir and $localstatedir are not relative to $prefix, so they are
still set as absolute paths. With his change ${PROJECT}Targets.cmake
that are generated by cmakes "export" function will contain relative
paths instead of absolute ones.
(From OE-Core rev: c03b32bd71dbe04f2f239556fea0b53215e403d7)
(From OE-Core rev: 3d37394f8f279d127db85784cf01056d27c19b36)
Signed-off-by: Thomas Witt <Thomas.Witt@bmw.de>
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/bin_package.bbclass')
0 files changed, 0 insertions, 0 deletions