From e5043640bd3b8786e10438dde33193f1811a013d Mon Sep 17 00:00:00 2001 From: Celeste Liu Date: Thu, 24 Nov 2022 13:19:23 +0800 Subject: [PATCH] fix(mkimg): clean up before build Signed-off-by: Celeste Liu --- mkimg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkimg b/mkimg index df28284..1c846b2 100755 --- a/mkimg +++ b/mkimg @@ -82,8 +82,8 @@ msg "Building u-boot..." [[ -d u-boot ]] || git clone https://github.com/u-boot/u-boot.git pushd u-boot -git checkout master git checkout master -- ':(top)' +git checkout master git pull --rebase git checkout v2022.10 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 pushd opensbi -git checkout master git checkout master -- ':(top)' +git checkout master git pull --rebase git checkout v1.1