fix(mkimg): clean up before build
Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
This commit is contained in:
parent
50cc973369
commit
e5043640bd
1 changed files with 2 additions and 2 deletions
4
mkimg
4
mkimg
|
@ -82,8 +82,8 @@ msg "Building u-boot..."
|
||||||
|
|
||||||
[[ -d u-boot ]] || git clone https://github.com/u-boot/u-boot.git
|
[[ -d u-boot ]] || git clone https://github.com/u-boot/u-boot.git
|
||||||
pushd u-boot
|
pushd u-boot
|
||||||
git checkout master
|
|
||||||
git checkout master -- ':(top)'
|
git checkout master -- ':(top)'
|
||||||
|
git checkout master
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
git checkout v2022.10
|
git checkout v2022.10
|
||||||
msg2 "Apply binutils 2.38 compitible patch"
|
msg2 "Apply binutils 2.38 compitible patch"
|
||||||
|
@ -99,8 +99,8 @@ msg "Building OpenSBI..."
|
||||||
|
|
||||||
[[ -d opensbi ]] || git clone https://github.com/riscv-software-src/opensbi
|
[[ -d opensbi ]] || git clone https://github.com/riscv-software-src/opensbi
|
||||||
pushd opensbi
|
pushd opensbi
|
||||||
git checkout master
|
|
||||||
git checkout master -- ':(top)'
|
git checkout master -- ':(top)'
|
||||||
|
git checkout master
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
git checkout v1.1
|
git checkout v1.1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue