summaryrefslogtreecommitdiffstats
path: root/boot/at91bootstrap/at91bootstrap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'boot/at91bootstrap/at91bootstrap.mk')
-rw-r--r--boot/at91bootstrap/at91bootstrap.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk
index 1d1091e14..b71df8977 100644
--- a/boot/at91bootstrap/at91bootstrap.mk
+++ b/boot/at91bootstrap/at91bootstrap.mk
@@ -90,3 +90,8 @@ at91bootstrap-dirclean:
ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y)
TARGETS+=at91bootstrap
+# we NEED a board name
+ifeq ($(AT91BOOTSTRAP_BOARD),)
+$(error No AT91Bootstrap board name set. Check your BR2_TARGET_AT91BOOTSTRAP_BOARD setting)
+endif
+endif