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>
This commit is contained in:
Marti Bolivar 2019-05-31 17:39:39 -06:00 committed by Carles Cufí
parent b83f99a14c
commit 9f851cc2dc
2 changed files with 2 additions and 5 deletions

View File

@ -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})

View File

@ -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.