summaryrefslogtreecommitdiffstats
path: root/boot/u-boot/u-boot.mk
diff options
context:
space:
mode:
authorPeter Korsgaard2010-09-28 14:43:25 +0200
committerPeter Korsgaard2010-09-28 14:43:25 +0200
commit3e5e39a8a25a4a085afe08bdcf46933c8d569ed7 (patch)
tree6ca06946f1655570924faae9934179c4dc314208 /boot/u-boot/u-boot.mk
parentdocs/news.html: typo, fix Thomas' family name (diff)
downloadbuildroot-3e5e39a8a25a4a085afe08bdcf46933c8d569ed7.tar.gz
buildroot-3e5e39a8a25a4a085afe08bdcf46933c8d569ed7.tar.xz
buildroot-3e5e39a8a25a4a085afe08bdcf46933c8d569ed7.zip
barebox/u-boot/linux: don't error out on missing config when make source
As it breaks 'make allyesconfig; make source', used for the source mirror. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/u-boot/u-boot.mk')
-rw-r--r--boot/u-boot/u-boot.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk
index f97674ada..971920751 100644
--- a/boot/u-boot/u-boot.mk
+++ b/boot/u-boot/u-boot.mk
@@ -193,9 +193,11 @@ u-boot-configured: $(U_BOOT_DIR)/.header_modified
ifeq ($(BR2_TARGET_UBOOT),y)
TARGETS+=u-boot
-# we NEED a board name
+# we NEED a board name unless we're at make source
+ifeq ($(filter source,$(MAKECMDGOALS)),)
ifeq ($(U_BOOT_BOARD_NAME),)
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
endif
+endif
endif