On Mon, Feb 4, 2019 at 6:40 PM Andreas Schwab <sch...@suse.de> wrote: > > On Feb 04 2019, Atish Patra <atish.pa...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot