summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-23 10:30:45 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-11-25 21:04:47 +0000
commit2e6c9d64885c8801d3ba669322dd197733fa2d88 (patch)
tree587b463e90fc8d3264281562f0a659faabb537f4 /payloads
parented533f7077bbde1845306913d0e35d502189ae1b (diff)
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>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/external/U-Boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/external/U-Boot/Makefile b/payloads/external/U-Boot/Makefile
index 1d1d3324e3..90777a5b9e 100644
--- a/payloads/external/U-Boot/Makefile
+++ b/payloads/external/U-Boot/Makefile
@@ -26,7 +26,7 @@ all: build
$(project_dir):
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)
ifeq ($(CONFIG_UBOOT_MASTER),y)