Skip to content

Commit

Permalink
cmake: flash: remove references to cache
Browse files Browse the repository at this point in the history
The `create_runners_yaml` function no longer saves the yaml file
location in the cmake cache since 5b4c894.

Signed-off-by: Jordan Yates <jordan@embeint.com>
  • Loading branch information
JordanYates authored and fabiobaltieri committed Jul 30, 2024
1 parent ac983f6 commit ccb616c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/flash/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit ccb616c

Please sign in to comment.