at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
004acd88b1
commit
8704da32fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user