diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-03-17 08:46:56 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-06-12 13:38:46 +0200 |
commit | 8704da32fa5d6fe5e890b274eef9b1e93a238d28 (patch) | |
tree | 068b71ab3b9be4a8722579aeb883e20a1efc66cc /boot | |
parent | 004acd88b14a8ad146a45932ded4416cbe1c07ac (diff) |
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')
-rw-r--r-- | boot/at91bootstrap/at91bootstrap.mk | 5 |
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 |