From: Peter Korsgaard Date: Mon, 26 Jan 2009 14:49:19 +0000 (-0000) Subject: u-boot: halt build early with description if no u-boot board name is set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f4cb62a1b689ee14ead45541b7676c9932785be;p=buildroot.git u-boot: halt build early with description if no u-boot board name is set --- diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in index 2c48c3898e..e4b54a62c3 100644 --- a/target/u-boot/Makefile.in +++ b/target/u-boot/Makefile.in @@ -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: