Skip to content

Commit b91a460

Browse files
committed
zephyr: test: align Cmake style
There are multiple style variants used in SOF for CMakeLists.txt, but this file now contains multiple variants in the same file. Fix this and align style to Zephyr style (2 space for indent, no tabs, no space before opening brackets). Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 562ad28 commit b91a460

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

zephyr/test/CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
if (CONFIG_SOF_BOOT_TEST)
2-
zephyr_library_sources_ifdef(CONFIG_VIRTUAL_HEAP
3-
vmh.c
4-
)
5-
zephyr_library_sources_ifdef(CONFIG_USERSPACE
6-
userspace/ksem.c
7-
)
1+
if(CONFIG_SOF_BOOT_TEST)
2+
zephyr_library_sources_ifdef(CONFIG_VIRTUAL_HEAP
3+
vmh.c
4+
)
5+
zephyr_library_sources_ifdef(CONFIG_USERSPACE
6+
userspace/ksem.c
7+
)
88
endif()
99

10-
if (CONFIG_SOF_BOOT_TEST_STANDALONE AND CONFIG_SOF_USERSPACE_INTERFACE_DMA)
11-
if (CONFIG_DT_HAS_INTEL_ADSP_HDA_HOST_IN_ENABLED)
12-
zephyr_library_sources(userspace/test_intel_hda_dma.c)
13-
endif()
14-
if (CONFIG_DT_HAS_INTEL_ADSP_HDA_SSP_CAP_ENABLED)
15-
zephyr_library_sources(userspace/test_intel_ssp_dai.c)
16-
endif()
10+
if(CONFIG_SOF_BOOT_TEST_STANDALONE AND CONFIG_SOF_USERSPACE_INTERFACE_DMA)
11+
if(CONFIG_DT_HAS_INTEL_ADSP_HDA_HOST_IN_ENABLED)
12+
zephyr_library_sources(userspace/test_intel_hda_dma.c)
13+
endif()
14+
if(CONFIG_DT_HAS_INTEL_ADSP_HDA_SSP_CAP_ENABLED)
15+
zephyr_library_sources(userspace/test_intel_ssp_dai.c)
16+
endif()
1717
endif()
1818

19-
if (CONFIG_SOF_BOOT_TEST_STANDALONE AND CONFIG_USERSPACE)
19+
if(CONFIG_SOF_BOOT_TEST_STANDALONE AND CONFIG_USERSPACE)
2020
zephyr_library_sources(userspace/test_mailbox.c)
2121
endif()
2222

23-
if (CONFIG_SOF_BOOT_TEST_STANDALONE AND CONFIG_SOF_USERSPACE_LL)
23+
if(CONFIG_SOF_BOOT_TEST_STANDALONE AND CONFIG_SOF_USERSPACE_LL)
2424
zephyr_library_sources(userspace/test_ll_task.c)
2525
endif()

0 commit comments

Comments
 (0)