Skip to content

Commit e582fa9

Browse files
author
Nicolas Pitre
committed
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 <[email protected]>
1 parent daff7ed commit e582fa9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmake/gcc-m-cpu.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# KConfig'uration and sets this to GCC_M_CPU
55

66
if("${ARCH}" STREQUAL "arm")
7-
if (CONFIG_CPU_CORTEX_M0)
7+
if(CONFIG_CPU_CORTEX_M0)
88
set(GCC_M_CPU cortex-m0)
99
elseif(CONFIG_CPU_CORTEX_M0PLUS)
1010
set(GCC_M_CPU cortex-m0plus)
@@ -19,13 +19,13 @@ if("${ARCH}" STREQUAL "arm")
1919
elseif(CONFIG_CPU_CORTEX_M23)
2020
set(GCC_M_CPU cortex-m23)
2121
elseif(CONFIG_CPU_CORTEX_M33)
22-
if (CONFIG_ARMV8_M_DSP)
22+
if(CONFIG_ARMV8_M_DSP)
2323
set(GCC_M_CPU cortex-m33)
2424
else()
2525
set(GCC_M_CPU cortex-m33+nodsp)
2626
endif()
2727
elseif(CONFIG_CPU_CORTEX_M52)
28-
if (CONFIG_ARMV8_1_M_MVEF)
28+
if(CONFIG_ARMV8_1_M_MVEF)
2929
set(GCC_M_CPU cortex-m52)
3030
elseif(CONFIG_ARMV8_1_M_MVEI)
3131
set(GCC_M_CPU cortex-m52+nomve.fp)
@@ -35,7 +35,7 @@ if("${ARCH}" STREQUAL "arm")
3535
set(GCC_M_CPU cortex-m52+nodsp)
3636
endif()
3737
elseif(CONFIG_CPU_CORTEX_M55)
38-
if (CONFIG_ARMV8_1_M_MVEF)
38+
if(CONFIG_ARMV8_1_M_MVEF)
3939
set(GCC_M_CPU cortex-m55)
4040
elseif(CONFIG_ARMV8_1_M_MVEI)
4141
set(GCC_M_CPU cortex-m55+nomve.fp)
@@ -45,7 +45,7 @@ if("${ARCH}" STREQUAL "arm")
4545
set(GCC_M_CPU cortex-m55+nodsp)
4646
endif()
4747
elseif(CONFIG_CPU_CORTEX_M85)
48-
if (CONFIG_ARMV8_1_M_MVEF)
48+
if(CONFIG_ARMV8_1_M_MVEF)
4949
set(GCC_M_CPU cortex-m85)
5050
elseif(CONFIG_ARMV8_1_M_MVEI)
5151
set(GCC_M_CPU cortex-m85+nomve.fp)

0 commit comments

Comments
 (0)