Skip to content
Permalink
Browse files

cmake: delete obsolete deprecation checks

FLASH_SCRIPT and DEBUG_SCRIPT are way gone; no need to check for them
anymore.

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
  • Loading branch information...
mbolivar authored and carlescufi committed May 31, 2019
1 parent b83f99a commit 9f851cc2dc7d634182167daaf8ca774cf03c5a04
Showing with 2 additions and 5 deletions.
  1. +2 −2 cmake/extensions.cmake
  2. +0 −3 cmake/flash/CMakeLists.txt
@@ -1273,9 +1273,9 @@ macro(assert test comment)
endmacro()

# Usage:
# assert_not(FLASH_SCRIPT "FLASH_SCRIPT has been removed; use BOARD_FLASH_RUNNER")
# assert_not(OBSOLETE_VAR "OBSOLETE_VAR has been removed; use NEW_VAR instead")
#
# will cause a FATAL_ERROR and print an errorm essage if the first
# will cause a FATAL_ERROR and print an error message if the first
# espression is true
macro(assert_not test comment)
if(${test})
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

assert_not(FLASH_SCRIPT "FLASH_SCRIPT has been removed; use BOARD_FLASH_RUNNER")
assert_not(DEBUG_SCRIPT "DEBUG_SCRIPT has been removed; use BOARD_DEBUG_RUNNER")

get_property(RUNNERS GLOBAL PROPERTY ZEPHYR_RUNNERS)

# Enable verbose output, if requested.

0 comments on commit 9f851cc

Please sign in to comment.
You can’t perform that action at this time.