From ccb616c9673348acfeaffb29f772ce0fab6bb085 Mon Sep 17 00:00:00 2001 From: Jordan Yates Date: Sun, 28 Jul 2024 10:53:57 +1000 Subject: [PATCH] cmake: flash: remove references to cache The `create_runners_yaml` function no longer saves the yaml file location in the cmake cache since 5b4c8945. Signed-off-by: Jordan Yates --- cmake/flash/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/flash/CMakeLists.txt b/cmake/flash/CMakeLists.txt index 81929df05aa..f948b059751 100644 --- a/cmake/flash/CMakeLists.txt +++ b/cmake/flash/CMakeLists.txt @@ -77,8 +77,7 @@ function(runners_yaml_append_config) runners_yaml_append("") endfunction() -# Save runner state in a YAML file, and put that YAML file's location -# in the cache. +# Save runner state in a YAML file. function(create_runners_yaml) set(runners ${ARGV}) @@ -128,7 +127,7 @@ function(create_runners_yaml) endif() endforeach() - # Write the final contents and set its location in the cache. + # Write the final contents. file(GENERATE OUTPUT "${runners_yaml}" CONTENT $) endfunction()