From 8704da32fa5d6fe5e890b274eef9b1e93a238d28 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 17 Mar 2010 08:46:56 +0100 Subject: at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set Signed-off-by: Thomas Petazzoni --- boot/at91bootstrap/at91bootstrap.mk | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3