Skip to content

Commit a48e960

Browse files
committed
tracing: remove useless conditional in cmake file
We are checking for the same configuration options twice. Signed-off-by: Anas Nashif <[email protected]>
1 parent 6684dce commit a48e960

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

subsys/tracing/CMakeLists.txt

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
if(CONFIG_SEGGER_SYSTEMVIEW OR CONFIG_TRACING_CPU_STATS)
4-
5-
zephyr_sources_ifdef(
6-
CONFIG_SEGGER_SYSTEMVIEW
7-
sysview_config.c
8-
sysview.c
9-
)
10-
11-
zephyr_sources_ifdef(
12-
CONFIG_TRACING_CPU_STATS
13-
cpu_stats.c
14-
)
15-
endif()
3+
zephyr_sources_ifdef(
4+
CONFIG_SEGGER_SYSTEMVIEW
5+
sysview_config.c
6+
sysview.c
7+
)
8+
9+
zephyr_sources_ifdef(
10+
CONFIG_TRACING_CPU_STATS
11+
cpu_stats.c
12+
)
1613

1714
zephyr_sources_ifdef(
1815
CONFIG_TRACING

0 commit comments

Comments
 (0)