From: Saul Wold Date: Tue, 10 Sep 2013 17:28:15 +0000 (-0700) Subject: cmake.bbclass: ensure CMAKE_SYSTEM_NAME is correct X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36064 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d8b700242b1b32c6b6d0735b497701800f54fc4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cmake.bbclass: ensure CMAKE_SYSTEM_NAME is correct Using TARGET_OS can add the ABIEXTENSION so ensure that is is removed for the Linux TARGET_OS, we might have other TARGET_OSes so don't hard code CMAKE_SYSTEM_NAME [YOCTO #5145] Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 1e72371e760..30c1792ffa6 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -35,7 +35,7 @@ cmake_do_generate_toolchain_file() { cat > ${WORKDIR}/toolchain.cmake <