mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-06 11:10:46 +00:00
Merge pull request #567 from merge/git_submodule_checkout
Makefile: add submodule checkout after git cloning coreboot
This commit is contained in:
commit
26b9c4ce59
1
Makefile
1
Makefile
@ -231,6 +231,7 @@ define define_module =
|
|||||||
# this case, since we don't have a stable version to compare against.
|
# this case, since we don't have a stable version to compare against.
|
||||||
$(build)/$($1_base_dir)/.canary:
|
$(build)/$($1_base_dir)/.canary:
|
||||||
git clone $($1_repo) "$(build)/$($1_base_dir)"
|
git clone $($1_repo) "$(build)/$($1_base_dir)"
|
||||||
|
cd $(build)/$($1_base_dir) && git submodule update --init --checkout
|
||||||
if [ -r patches/$1.patch ]; then \
|
if [ -r patches/$1.patch ]; then \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
||||||
< patches/$1.patch \
|
< patches/$1.patch \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user