Skip to content
Snippets Groups Projects
Commit 454364cc authored by Alper Nebi Yasak's avatar Alper Nebi Yasak
Browse files

download/u-boot: Try to update submodules as in coreboot script


The coreboot download script tries to update submodules, since coreboot
does use git submodules to retrieve and compile the projects it depends
on. Although U-Boot doesn't use submodules, try to update them anyway to
match the coreboot download script.

Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
parent 0aeb69b5
Branches
Tags
No related merge requests found
......@@ -162,6 +162,13 @@ downloadfor() {
"download/u-boot" "${ubrevision}" "${board}" "${ubtree}"
return 1
fi
git -C "${ubtree}" submodule update --init || touch build_error
if [ -f build_error ]; then
printf "ERROR: %s: Unable to update submodules for tree '%s'\n" \
"${ubtree}"
return 1
fi
}
strip_comments()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment