mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
Makefile: add submodule checkout after git cloning coreboot
Right now all git submodules are left behind on a git clone. Add git submodule update --init --checkout according to the docs, see https://www.coreboot.org/Build_HOWTO
This commit is contained in:
parent
08ad2d4d20
commit
ae916cbd91
1
Makefile
1
Makefile
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user