Skip to content
Permalink
Browse files

cmake: fix whitespace

No functional change expected.

Signed-off-by: Mark Ruvald Pedersen <mped@oticon.com>
  • Loading branch information...
mped-oticon authored and nashif committed Apr 25, 2019
1 parent fbfe75c commit 3481dc876e2706e982c3ecb585dd7a1176368e6c
Showing with 3 additions and 6 deletions.
  1. +1 −1 cmake/compiler/gcc/target.cmake
  2. +2 −5 cmake/target_toolchain.cmake
@@ -110,7 +110,6 @@ if(SYSROOT_DIR)
set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include)
endif()


# For CMake to be able to test if a compiler flag is supported by the
# toolchain we need to give CMake the necessary flags to compile and
# link a dummy C file.
@@ -120,6 +119,7 @@ endif()
foreach(isystem_include_dir ${NOSTDINC})
list(APPEND isystem_include_flags -isystem "\"${isystem_include_dir}\"")
endforeach()

# The CMAKE_REQUIRED_FLAGS variable is used by check_c_compiler_flag()
# (and other commands which end up calling check_c_source_compiles())
# to add additional compiler flags used during checking. These flags
@@ -50,12 +50,9 @@ include(${ZEPHYR_BASE}/cmake/compiler/${COMPILER}/target.cmake OPTIONAL)
#
# What we are looking for, is a signature definition that is defined
# like this:

# Toolchains with the same signature will always support the same set
# of flags.

# * Toolchains with the same signature will always support the same set
# of flags.
# It is not clear how this signature should be constructed. The
# strategy chosen is to md5sum the CC binary.

file(MD5 ${CMAKE_C_COMPILER} CMAKE_C_COMPILER_MD5_SUM)
set(TOOLCHAIN_SIGNATURE ${CMAKE_C_COMPILER_MD5_SUM})

0 comments on commit 3481dc8

Please sign in to comment.
You can’t perform that action at this time.