[U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

Anup Patel anup at brainfault.org
Tue Feb 5 12:14:54 UTC 2019


On Mon, Feb 4, 2019 at 6:40 PM Andreas Schwab <schwab at suse.de> wrote:
>
> On Feb 04 2019, Atish Patra <Atish.Patra at 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


More information about the U-Boot mailing list