summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 14:49:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 14:49:19 +0000
commit7f4cb62a1b689ee14ead45541b7676c9932785be (patch)
tree104ecae4297b8a3290390061385eff8ec90ee39e /target
parent3bab463be4a42de790b745ab2e873e1c1ce42f2d (diff)
downloadbuildroot-novena-7f4cb62a1b689ee14ead45541b7676c9932785be.tar.gz
buildroot-novena-7f4cb62a1b689ee14ead45541b7676c9932785be.zip
u-boot: halt build early with description if no u-boot board name is set
Diffstat (limited to 'target')
-rw-r--r--target/u-boot/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in
index 2c48c3898..e4b54a62c 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: