cmake: fix style conformance that makes CI fail
This fixes the following:
CMakeStyle File:cmake/gcc-m-cpu.cmake Line:7
Column:Remove space before '(' in if() statements
CMakeStyle File:cmake/gcc-m-cpu.cmake Line:22
Column:Remove space before '(' in if() statements
CMakeStyle File:cmake/gcc-m-cpu.cmake Line:28
Column:Remove space before '(' in if() statements
CMakeStyle File:cmake/gcc-m-cpu.cmake Line:38
Column:Remove space before '(' in if() statements
CMakeStyle File:cmake/gcc-m-cpu.cmake Line:48
Column:Remove space before '(' in if() statements
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
committed by
Anas Nashif
parent
051623c808
commit
80a6ead8c9
@@ -4,7 +4,7 @@
|
||||
# KConfig'uration and sets this to GCC_M_CPU
|
||||
|
||||
if("${ARCH}" STREQUAL "arm")
|
||||
if (CONFIG_CPU_CORTEX_M0)
|
||||
if(CONFIG_CPU_CORTEX_M0)
|
||||
set(GCC_M_CPU cortex-m0)
|
||||
elseif(CONFIG_CPU_CORTEX_M0PLUS)
|
||||
set(GCC_M_CPU cortex-m0plus)
|
||||
@@ -19,13 +19,13 @@ if("${ARCH}" STREQUAL "arm")
|
||||
elseif(CONFIG_CPU_CORTEX_M23)
|
||||
set(GCC_M_CPU cortex-m23)
|
||||
elseif(CONFIG_CPU_CORTEX_M33)
|
||||
if (CONFIG_ARMV8_M_DSP)
|
||||
if(CONFIG_ARMV8_M_DSP)
|
||||
set(GCC_M_CPU cortex-m33)
|
||||
else()
|
||||
set(GCC_M_CPU cortex-m33+nodsp)
|
||||
endif()
|
||||
elseif(CONFIG_CPU_CORTEX_M52)
|
||||
if (CONFIG_ARMV8_1_M_MVEF)
|
||||
if(CONFIG_ARMV8_1_M_MVEF)
|
||||
set(GCC_M_CPU cortex-m52)
|
||||
elseif(CONFIG_ARMV8_1_M_MVEI)
|
||||
set(GCC_M_CPU cortex-m52+nomve.fp)
|
||||
@@ -35,7 +35,7 @@ if("${ARCH}" STREQUAL "arm")
|
||||
set(GCC_M_CPU cortex-m52+nodsp)
|
||||
endif()
|
||||
elseif(CONFIG_CPU_CORTEX_M55)
|
||||
if (CONFIG_ARMV8_1_M_MVEF)
|
||||
if(CONFIG_ARMV8_1_M_MVEF)
|
||||
set(GCC_M_CPU cortex-m55)
|
||||
elseif(CONFIG_ARMV8_1_M_MVEI)
|
||||
set(GCC_M_CPU cortex-m55+nomve.fp)
|
||||
@@ -45,7 +45,7 @@ if("${ARCH}" STREQUAL "arm")
|
||||
set(GCC_M_CPU cortex-m55+nodsp)
|
||||
endif()
|
||||
elseif(CONFIG_CPU_CORTEX_M85)
|
||||
if (CONFIG_ARMV8_1_M_MVEF)
|
||||
if(CONFIG_ARMV8_1_M_MVEF)
|
||||
set(GCC_M_CPU cortex-m85)
|
||||
elseif(CONFIG_ARMV8_1_M_MVEI)
|
||||
set(GCC_M_CPU cortex-m85+nomve.fp)
|
||||
|
||||
Reference in New Issue
Block a user