Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving to OpenSBI, deprecate BBL (riscv-pk) #220

Merged
merged 8 commits into from
Feb 10, 2021
Prev Previous commit
Next Next commit
Update fast-setup.sh to save space from large git logs
  • Loading branch information
dayeol committed Feb 9, 2021
commit 6851a957c1734d794e14a72060d1968c5b47dff6
10 changes: 3 additions & 7 deletions fast-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ else
echo "Extracting Toolchain"
7za x -y $TOOLCHAIN_7Z_FILE -o./riscv$BITS

if [[ ! $(ldconfig -p | grep "libmpfr.so.4") ]]; then
echo "WARNING: libmpfr.so.4 is missing!"
fi

echo "Toolchain has been installed in $RISCV"

rm $TOOLCHAIN_7Z_FILE
Expand All @@ -65,13 +61,13 @@ git config submodule.riscv-gnu-toolchain.update none

# shallow clone submodules ahead of time (Git must be > 2.11)
if [ ! -e linux/.git ]; then
git clone --shallow-since=2019-09-14 https://github.com/torvalds/linux.git linux
git clone --shallow-since=2020-05-15 https://github.com/torvalds/linux.git linux
fi
if [ ! -e buildroot/.git ]; then
git clone --shallow-since=2019-08-29 https://github.com/buildroot/buildroot.git buildroot
git clone --shallow-since=2020-04-15 https://github.com/buildroot/buildroot.git buildroot
fi
if [ ! -e qemu/.git ]; then
git clone --shallow-since=2018-08-14 https://github.com/qemu/qemu.git qemu
git clone --shallow-since=2020-11-15 https://github.com/qemu/qemu.git qemu
fi

git submodule sync --recursive
Expand Down