summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa62695..9160060 100644
--- a/Makefile
+++ b/Makefile
@@ -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