payloads/U-Boot: Do a shallow clone

We don't need all the git history. Speed up the build by doing a shallow
clone.

Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: If31c9dd158aa23f242e4fd145449ef7502fb1ab1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59602
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Simon Glass 2021-11-23 10:30:45 -07:00 committed by Felix Held
parent ed533f7077
commit 2e6c9d6488
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ all: build
$(project_dir): $(project_dir):
echo " Cloning $(project_name) from Git" echo " Cloning $(project_name) from Git"
git clone $(project_git_repo) $(project_dir) git clone --depth 1 $(project_git_repo) $(project_dir)
fetch: $(project_dir) fetch: $(project_dir)
ifeq ($(CONFIG_UBOOT_MASTER),y) ifeq ($(CONFIG_UBOOT_MASTER),y)