cmake: flash: remove stale cache variables

Commit c1f80db44a removed various
now-unused CMake cache variables, but it missed the ones that begin
with ZEPHYR_RUNNER_ARGS. Delete those now.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-08-26 09:30:43 -07:00 committed by Maureen Helm
parent 52d2448717
commit db4df3ce1a

View File

@ -95,16 +95,6 @@ get_property(RUNNERS GLOBAL PROPERTY ZEPHYR_RUNNERS)
# configuration if the board files change.
if(RUNNERS)
create_runners_yaml(${RUNNERS})
# Runner-specific command line arguments obtained from the board's
# build scripts, the application's scripts, etc.
foreach(runner ${RUNNERS})
string(MAKE_C_IDENTIFIER ${runner} runner_id)
# E.g. args = BOARD_RUNNER_ARGS_openocd, BOARD_RUNNER_ARGS_dfu_util, etc.
get_property(runner_args GLOBAL PROPERTY "BOARD_RUNNER_ARGS_${runner_id}")
set(ZEPHYR_RUNNER_ARGS_${runner_id} ${runner_args} CACHE STRING
"Runner-specific arguments for ${runner}" FORCE)
endforeach()
endif()
if(DEFINED ENV{WEST_DIR} AND NOT WEST_DIR)