Merge pull request #567 from merge/git_submodule_checkout

Makefile: add submodule checkout after git cloning coreboot
This commit is contained in:
tlaurion 2019-05-22 13:48:27 -04:00 committed by GitHub
commit 26b9c4ce59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,6 +231,7 @@ define define_module =
# this case, since we don't have a stable version to compare against.
$(build)/$($1_base_dir)/.canary:
git clone $($1_repo) "$(build)/$($1_base_dir)"
cd $(build)/$($1_base_dir) && git submodule update --init --checkout
if [ -r patches/$1.patch ]; then \
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
< patches/$1.patch \