build: remove flash/debug shell scripts
The functionality of the shell scripts for flashing and debugging has now been replaced by zephyr_flash_debug.py. Remove the legacy scripts as part of transitioning all of this to Python. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
parent
a9aec55588
commit
81f2d21fac
14 changed files with 6 additions and 747 deletions
11
Makefile
11
Makefile
|
@ -1374,30 +1374,19 @@ run:
|
|||
endif
|
||||
|
||||
ifneq ($(FLASH_SCRIPT),)
|
||||
ifeq ($(USE_ZEPHYR_FLASH_DEBUG_SHELL),)
|
||||
flash: zephyr
|
||||
@echo "Flashing $(BOARD_NAME)"
|
||||
$(Q)$(srctree)/scripts/support/zephyr_flash_debug.py flash $(srctree)/scripts/support/$(FLASH_SCRIPT)
|
||||
else
|
||||
flash: zephyr
|
||||
@echo "Flashing $(BOARD_NAME)"
|
||||
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/support/$(FLASH_SCRIPT) flash
|
||||
endif
|
||||
else
|
||||
flash: FORCE
|
||||
@echo Flashing not supported with this board.
|
||||
@echo Please check the documentation for alternate instructions.
|
||||
endif
|
||||
|
||||
ifneq ($(DEBUG_SCRIPT),)
|
||||
ifeq ($(USE_ZEPHYR_FLASH_DEBUG_SHELL),)
|
||||
debug: zephyr
|
||||
$(Q)$(srctree)/scripts/support/zephyr_flash_debug.py debug $(srctree)/scripts/support/$(DEBUG_SCRIPT)
|
||||
else
|
||||
debug: zephyr
|
||||
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/support/$(DEBUG_SCRIPT) debug
|
||||
endif
|
||||
else
|
||||
debug: FORCE
|
||||
@echo Debugging not supported with this board.
|
||||
@echo Please check the documentation for alternate instructions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue