mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
f675fef1da
commit
d0a91931f2
@@ -90,12 +90,14 @@ def map_host_arch_to_uname_arch(host_arch):
|
|||||||
return "ppc64"
|
return "ppc64"
|
||||||
return host_arch
|
return host_arch
|
||||||
|
|
||||||
|
|
||||||
cmake_do_generate_toolchain_file() {
|
cmake_do_generate_toolchain_file() {
|
||||||
if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
|
if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
|
||||||
cmake_crosscompiling="set( CMAKE_CROSSCOMPILING FALSE )"
|
cmake_crosscompiling="set( CMAKE_CROSSCOMPILING FALSE )"
|
||||||
else
|
else
|
||||||
cmake_sysroot="set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )"
|
cmake_sysroot="set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat > ${WORKDIR}/toolchain.cmake <<EOF
|
cat > ${WORKDIR}/toolchain.cmake <<EOF
|
||||||
# CMake system name must be something like "Linux".
|
# CMake system name must be something like "Linux".
|
||||||
# This is important for cross-compiling.
|
# This is important for cross-compiling.
|
||||||
|
|||||||
Reference in New Issue
Block a user