Skip to content

Commit

Permalink
No --depth=1 for submodules
Browse files Browse the repository at this point in the history
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
  • Loading branch information
SergiiDmytruk committed Jul 18, 2021
1 parent a8fc6bd commit eb033f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ define define_module =
# this case, since we don't have a stable version to compare against.
$(build)/$($1_base_dir)/.canary:
git clone --depth=1 $($1_repo) "$(build)/$($1_base_dir)"
cd $(build)/$($1_base_dir) && git submodule update --init --checkout --depth=1
cd $(build)/$($1_base_dir) && git submodule update --init --checkout
if [ -r patches/$($1_patch_name).patch ]; then \
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
< patches/$($1_patch_name).patch \
Expand Down

0 comments on commit eb033f5

Please sign in to comment.