Error out sanely if we don't have some necessary stuff defined

This commit is contained in:
Solomon Peachy 2020-01-01 23:25:55 -05:00
parent 772cdffa1e
commit 13c2e97ae2
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@
-include Makefile.opts
ifeq ($(MCU),)
$(error Must set 'MCU' in Makefile.opts; see 'BUILD' file)
endif
# Toolchain - Don't change this unless you are sure what you're doing!
TOOLCHAIN_CONFIG=toolchain-$(MCU_CORE).config
TOOLCHAIN_SRC_DIR=crosstool-ng