print message when flashing/debugging not supported
Change-Id: I5ba5e08d534a4e94999fa192a3e5addc039df1ed Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6816942f6b
commit
78e1b0efe1
1 changed files with 10 additions and 1 deletions
11
Makefile
11
Makefile
|
@ -1120,13 +1120,22 @@ qemu: zephyr
|
|||
$(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_EXTRA_FLAGS) -kernel $(KERNEL_ELF_NAME)
|
||||
|
||||
-include $(srctree)/boards/$(BOARD_NAME)/Makefile.board
|
||||
|
||||
ifneq ($(FLASH_SCRIPT),)
|
||||
flash: zephyr
|
||||
@echo "Flashing $(BOARD_NAME)"
|
||||
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/support/$(FLASH_SCRIPT) flash
|
||||
|
||||
debug: zephyr
|
||||
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/support/$(FLASH_SCRIPT) debug
|
||||
else
|
||||
flash: FORCE
|
||||
@echo Flashing not supported with this board.
|
||||
@echo Please check the documentation for alternate instructions.
|
||||
|
||||
debug: FORCE
|
||||
@echo Debugging not supported with this board.
|
||||
@echo Please check the documentation for alternate instructions.
|
||||
endif
|
||||
|
||||
# Single targets
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue