diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-28 14:43:25 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-28 14:43:25 +0200 |
commit | 3e5e39a8a25a4a085afe08bdcf46933c8d569ed7 (patch) | |
tree | 6ca06946f1655570924faae9934179c4dc314208 /boot/barebox | |
parent | a70d443483b360a0cc0ca1759e9a410b7855dbe8 (diff) | |
download | buildroot-3e5e39a8a25a4a085afe08bdcf46933c8d569ed7.tar.gz 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/barebox')
-rw-r--r-- | boot/barebox/barebox.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk index 7c2cbc123e..85224cae0f 100644 --- a/boot/barebox/barebox.mk +++ b/boot/barebox/barebox.mk @@ -53,9 +53,11 @@ barebox: $(BAREBOX_DIR)/.installed ifeq ($(BR2_TARGET_BAREBOX),y) TARGETS+=barebox -# we NEED a board defconfig file +# we NEED a board defconfig file unless we're at make source +ifeq ($(filter source,$(MAKECMDGOALS)),) ifeq ($(BAREBOX_BOARD_DEFCONFIG),) $(error No Barebox defconfig file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG setting) endif +endif endif |