Skip to content

Commit 4396935

Browse files
committed
Removed git clone depth limitation
1 parent b812f83 commit 4396935

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ NPROCS := $(shell nproc)
3838
$(BUILDDIR)/linux-prepare-checkout-stamp:
3939
@echo "$(COLOUR_GREEN)Checking out Kernel for $(BOARD)$(END_COLOUR)"
4040
@mkdir -p $(BUILDDIR)
41-
@git clone -b sg200x-dev --depth 7 https://github.com/sophgo/linux_5.10.git /build/kernel
41+
@git clone -b sg200x-dev https://github.com/sophgo/linux_5.10.git /build/kernel
4242
@cd $(BUILDDIR)/kernel && git checkout e6ead53
4343
@touch $@
4444

@@ -79,7 +79,7 @@ linux-clean:
7979
$(BUILDDIR)/uboot-prepare-checkout-stamp:
8080
@echo "$(COLOUR_GREEN)Checking out U-Boot for $(BOARD)$(END_COLOUR)"
8181
@mkdir -p $(BUILDDIR)
82-
@git clone --depth 1 https://github.com/sophgo/u-boot-2021.10.git $(BUILDDIR)/u-boot
82+
@git clone https://github.com/sophgo/u-boot-2021.10.git $(BUILDDIR)/u-boot
8383
@cd $(BUILDDIR)/u-boot && git checkout 4a21b6b
8484
@touch $@
8585

@@ -122,7 +122,7 @@ uboot-clean:
122122
$(BUILDDIR)/opensbi-prepare-checkout-stamp:
123123
@echo "$(COLOUR_GREEN)Checking out OpenSBI for $(BOARD)$(END_COLOUR)"
124124
@mkdir -p $(BUILDDIR)
125-
@git clone -b sg200x-dev --depth 4 https://github.com/sophgo/opensbi.git $(BUILDDIR)/opensbi
125+
@git clone -b sg200x-dev https://github.com/sophgo/opensbi.git $(BUILDDIR)/opensbi
126126
@cd $(BUILDDIR)/opensbi && git checkout 216793f
127127
# git clone https://github.com/riscv-software-src/opensbi.git $(BUILDDIR)/opensbi
128128
# @cd $(BUILDDIR)/opensbi && git checkout a2b255b
@@ -151,7 +151,7 @@ opensbi-clean:
151151
$(BUILDDIR)/fsbl-prepare-checkout-stamp:
152152
@echo "$(COLOUR_GREEN)Checking out FSBL for $(BOARD)$(END_COLOUR)"
153153
@mkdir -p $(BUILDDIR)
154-
@git clone -b sg200x-dev --depth 1 https://github.com/sophgo/fsbl.git $(BUILDDIR)/fsbl
154+
@git clone -b sg200x-dev https://github.com/sophgo/fsbl.git $(BUILDDIR)/fsbl
155155
@cd $(BUILDDIR)/fsbl && git checkout 15a84c5
156156
@touch $@
157157

0 commit comments

Comments
 (0)