benchmarks/cachespeed/CMakeLists.txt: fix the names of the config entry

CONFIG_TESTING_ -> CONFIG_BENCHMARK_
fix Relative file path does not match actual file.
This commit is contained in:
simbit18 2024-05-10 11:49:32 +02:00 committed by Xiang Xiao
parent 2bff210cdf
commit 3ff320756a

View File

@ -1,5 +1,5 @@
# ############################################################################## # ##############################################################################
# apps/testing/cachespeed/CMakeLists.txt # apps/benchmarks/cachespeed/CMakeLists.txt
# #
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
@ -18,14 +18,14 @@
# #
# ############################################################################## # ##############################################################################
if(CONFIG_TESTING_CACHESPEED) if(CONFIG_BENCHMARK_CACHESPEED)
nuttx_add_application( nuttx_add_application(
NAME NAME
${CONFIG_TESTING_CACHESPEED_PROGNAME} ${CONFIG_BENCHMARK_CACHESPEED_PROGNAME}
SRCS SRCS
cachespeed_main.c cachespeed_main.c
STACKSIZE STACKSIZE
${CONFIG_TESTING_CACHESPEED_STACKSIZE} ${CONFIG_BENCHMARK_CACHESPEED_STACKSIZE}
PRIORITY PRIORITY
${CONFIG_TESTING_CACHESPEED_PRIORITY}) ${CONFIG_BENCHMARK_CACHESPEED_PRIORITY})
endif() endif()