diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2023-09-05 18:51:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-10 08:54:36 +0100 |
commit | d0a91931f274bfd9f048af38c7fd0a91bb2bcdbb (patch) | |
tree | f6f3d5fad0db37b4fad70b17e8b4c73f9d05a552 /meta/classes-recipe/cmake.bbclass | |
parent | f675fef1da2de8c7c706bfe7f1d5c239dd3f3b63 (diff) | |
download | poky-d0a91931f274bfd9f048af38c7fd0a91bb2bcdbb.tar.gz |
cmake.bbclass: cleanup spaces and tabs
(From OE-Core rev: f1e96bf4ace090ff8ef9d311268ff068a0a3768e)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/cmake.bbclass')
-rw-r--r-- | meta/classes-recipe/cmake.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass index ea836d5c0d..c4ac96524a 100644 --- a/meta/classes-recipe/cmake.bbclass +++ b/meta/classes-recipe/cmake.bbclass | |||
@@ -90,12 +90,14 @@ def map_host_arch_to_uname_arch(host_arch): | |||
90 | return "ppc64" | 90 | return "ppc64" |
91 | return host_arch | 91 | return host_arch |
92 | 92 | ||
93 | |||
93 | cmake_do_generate_toolchain_file() { | 94 | cmake_do_generate_toolchain_file() { |
94 | if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then | 95 | if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then |
95 | cmake_crosscompiling="set( CMAKE_CROSSCOMPILING FALSE )" | 96 | cmake_crosscompiling="set( CMAKE_CROSSCOMPILING FALSE )" |
96 | else | 97 | else |
97 | cmake_sysroot="set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )" | 98 | cmake_sysroot="set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )" |
98 | fi | 99 | fi |
100 | |||
99 | cat > ${WORKDIR}/toolchain.cmake <<EOF | 101 | cat > ${WORKDIR}/toolchain.cmake <<EOF |
100 | # CMake system name must be something like "Linux". | 102 | # CMake system name must be something like "Linux". |
101 | # This is important for cross-compiling. | 103 | # This is important for cross-compiling. |