diff --git a/Makefile.include b/Makefile.include index 772cae6d77..ee4c4a93d8 100644 --- a/Makefile.include +++ b/Makefile.include @@ -679,7 +679,7 @@ binfile: $(BINFILE) flashfile: $(FLASHFILE) ifeq (,$(FLASHFILE)) - $(error FLASHFILE is not defined for this board: $(FLASHFILE)) + $(error FLASHFILE is not defined for this board: $(BOARD)) endif BUILD_FILES += $(ELFFILE) $(BINFILE) $(FLASHFILE) $(HASHFILE)