tracing: remove useless conditional in cmake file
We are checking for the same configuration options twice. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6684dce772
commit
a48e960af4
1 changed files with 9 additions and 12 deletions
|
@ -1,18 +1,15 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if(CONFIG_SEGGER_SYSTEMVIEW OR CONFIG_TRACING_CPU_STATS)
|
zephyr_sources_ifdef(
|
||||||
|
CONFIG_SEGGER_SYSTEMVIEW
|
||||||
|
sysview_config.c
|
||||||
|
sysview.c
|
||||||
|
)
|
||||||
|
|
||||||
zephyr_sources_ifdef(
|
zephyr_sources_ifdef(
|
||||||
CONFIG_SEGGER_SYSTEMVIEW
|
CONFIG_TRACING_CPU_STATS
|
||||||
sysview_config.c
|
cpu_stats.c
|
||||||
sysview.c
|
)
|
||||||
)
|
|
||||||
|
|
||||||
zephyr_sources_ifdef(
|
|
||||||
CONFIG_TRACING_CPU_STATS
|
|
||||||
cpu_stats.c
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
zephyr_sources_ifdef(
|
zephyr_sources_ifdef(
|
||||||
CONFIG_TRACING
|
CONFIG_TRACING
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue