
5 Feb
2019
5 Feb
'19
1:14 p.m.
On Mon, Feb 4, 2019 at 6:40 PM Andreas Schwab schwab@suse.de wrote:
On Feb 04 2019, Atish Patra Atish.Patra@wdc.com wrote:
Probably your cross compilation is not set. Can you try this ?
export ARCH=riscv export CROSS_COMPILE= <riscv cross compile prefix>
There is no cross compile prefix.
The OpenSBI build is similar to Linux and U-Boot. We expect CROSS_COMPILE environment variable to be set.
Make sure, CROSS_COMPILE environment variable is set and exported before running make.
Example, if you cross-compiler is riscv64-unknown-linux-gnu-gcc then do: # export CROSS_COMPILE=riscv64-unknown-linux-gnu-
Regards, Anup