summaryrefslogtreecommitdiffstats
path: root/boot/at91bootstrap
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-17 08:46:56 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-06-12 13:38:46 +0200
commit8704da32fa5d6fe5e890b274eef9b1e93a238d28 (patch)
tree068b71ab3b9be4a8722579aeb883e20a1efc66cc /boot/at91bootstrap
parent004acd88b14a8ad146a45932ded4416cbe1c07ac (diff)
downloadbuildroot-novena-8704da32fa5d6fe5e890b274eef9b1e93a238d28.tar.gz
buildroot-novena-8704da32fa5d6fe5e890b274eef9b1e93a238d28.zip
at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/at91bootstrap')
-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