Skip to content

Commit

Permalink
Added message inviting people to check they did mcu-gen (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanSapriza authored Jul 19, 2024
1 parent e7ef790 commit dab270b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,15 @@ verible:
## @param COMPILER_PREFIX=riscv32-unknown-(default)
## @param ARCH=rv32imc(default), <any RISC-V ISA string supported by the CPU>
app: clean-app
$(MAKE) -C sw PROJECT=$(PROJECT) TARGET=$(TARGET) LINKER=$(LINKER) COMPILER=$(COMPILER) COMPILER_PREFIX=$(COMPILER_PREFIX) ARCH=$(ARCH) SOURCE=$(SOURCE)
$(MAKE) -C sw PROJECT=$(PROJECT) TARGET=$(TARGET) LINKER=$(LINKER) COMPILER=$(COMPILER) COMPILER_PREFIX=$(COMPILER_PREFIX) ARCH=$(ARCH) SOURCE=$(SOURCE) \
|| { \
echo "\033[0;31mHmmm... seems like the compilation failed...\033[0m"; \
echo "\033[0;31mIf you do not understand why, it is likely that you either:\033[0m"; \
echo "\033[0;31m a) offended the Leprechaun of Electronics\033[0m"; \
echo "\033[0;31m b) forgot to run make mcu-gen\033[0m"; \
echo "\033[0;31mI would start by checking b) if I were you!\033[0m"; \
exit 1; \
}

## Just list the different application names available
app-list:
Expand Down

0 comments on commit dab270b

Please sign in to comment.