toolchains: Add libgloss replacement

This commit is contained in:
Albert Ou
2019-11-18 01:42:25 -08:00
parent f71d976114
commit 7059ac3f0f
6 changed files with 15 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ dir="toolchains/riscv-tools"
branches=("riscv")
search
submodules=("qemu")
submodules=("qemu" "libgloss")
dir="toolchains"
branches=("master")
search

View File

@@ -15,7 +15,8 @@ cd $LOCAL_CHIPYARD_DIR
# Use normalized output of git-submodule status as hashfile
for tools in 'riscv-tools' 'esp-tools' ; do
git submodule status "toolchains/${tools}" "toolchains/qemu" | while read -r line ; do
git submodule status "toolchains/${tools}" 'toolchains/libgloss' 'toolchains/qemu' |
while read -r line ; do
echo "${line#[!0-9a-f]}"
done > "${HOME}/${tools}.hash"
done