Warn if RISCV unset (#601)

This commit is contained in:
Jerry Zhao
2020-06-10 14:46:53 -07:00
committed by GitHub
parent 5e0b3c3b9e
commit 623bafacd5
2 changed files with 14 additions and 1 deletions

View File

@@ -3,6 +3,14 @@
#########################################################################################
SHELL=/bin/bash
ifndef RISCV
$(error RISCV is unset. You must set RISCV yourself, or through the Chipyard auto-generated env file)
else
$(info Running with RISCV=$(RISCV))
endif
#########################################################################################
# extra make variables/rules from subprojects
#