summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-17 07:46:56 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-06-12 11:38:46 (GMT)
commit8704da32fa5d6fe5e890b274eef9b1e93a238d28 (patch)
tree068b71ab3b9be4a8722579aeb883e20a1efc66cc
parent004acd88b14a8ad146a45932ded4416cbe1c07ac (diff)
downloadbuildroot-8704da32fa5d6fe5e890b274eef9b1e93a238d28.tar.gz
buildroot-8704da32fa5d6fe5e890b274eef9b1e93a238d28.tar.bz2
at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 1d1091e..b71df89 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