Skip to content

Commit

Permalink
build(cmake): update
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Jan 14, 2022
1 parent 525b740 commit 5427560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ fi
if [ ${ARCH} == "riscv64" ]; then
# OPENSBI 不存在则编译
if [ ! -f ${OPENSBI} ]; then
echo build opensbi.
git submodule init
git submodule update
cd ./tools/opensbi
mkdir -p build
export CROSS_COMPILE=${TOOLCHAIN_PREFIX}
make PLATFORM=generic FW_JUMP_ADDR=0x80200000
cd ../..
echo build opensbi done.
fi
fi

Expand Down

0 comments on commit 5427560

Please sign in to comment.