u-boot: halt build early with description if no u-boot board name is set

This commit is contained in:
Peter Korsgaard 2009-01-26 14:49:19 +00:00
parent 3bab463be4
commit 7f4cb62a1b

View File

@ -281,6 +281,12 @@ $(U_BOOT_AUTOSCRIPT).$(PROJECT): $(U_BOOT_AUTOSCRIPT) $(MKIMAGE)
#############################################################
ifeq ($(BR2_TARGET_UBOOT),y)
TARGETS+=u-boot
# we NEED a board name
ifeq ($(UBOOT_BOARD_NAME),)
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
endif
endif
u-boot-status: