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 <jordan@embeint.com>
This commit is contained in:
Jordan Yates 2024-07-28 10:53:57 +10:00 committed by Fabio Baltieri
commit ccb616c967

View file

@ -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
$<TARGET_PROPERTY:runners_yaml_props_target,yaml_contents>)
endfunction()