diff options
author | Ross Burton <ross.burton@intel.com> | 2016-09-22 17:11:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 14:55:39 +0100 |
commit | 89b28990ff3ef8ac7a33a0a3f9177b9bd0e1530b (patch) | |
tree | c83cec6860b6a4fbbd3be55ff4e40de05d0fc87b /meta/recipes-devtools | |
parent | 262f8180c9037b7e82efe08ce3bb1880fee22ea8 (diff) | |
download | openembedded-core-89b28990ff3ef8ac7a33a0a3f9177b9bd0e1530b.tar.gz openembedded-core-89b28990ff3ef8ac7a33a0a3f9177b9bd0e1530b.tar.bz2 openembedded-core-89b28990ff3ef8ac7a33a0a3f9177b9bd0e1530b.zip |
cmake-native: prefer native sysroot libraries over host
Explicitly set CMAKE_LIBRARY_PATH so that find_library() looks in the native
sysroot before the host.
Also pass --verbose to configure which sets CMAKE_VERBOSE_MAKEFILE for detailed
compile logs.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake-native_3.6.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb b/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb index a301ae664c..aec0d64de1 100644 --- a/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb +++ b/meta/recipes-devtools/cmake/cmake-native_3.6.1.bb @@ -12,6 +12,7 @@ do_configure[cleandirs] = "${B}" # Disable ccmake since we don't depend on ncurses CMAKE_EXTRACONF = "\ + -DCMAKE_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \ -DBUILD_CursesDialog=0 \ -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ @@ -21,7 +22,7 @@ CMAKE_EXTRACONF = "\ " do_configure () { - ${S}/configure --prefix=${prefix} -- ${CMAKE_EXTRACONF} + ${S}/configure --verbose --prefix=${prefix} -- ${CMAKE_EXTRACONF} } do_compile() { |