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

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


On Tue, Feb 5, 2019 at 6:21 PM Andreas Schwab <schwab at suse.de> wrote:
>
> On Feb 05 2019, Anup Patel <anup at brainfault.org> wrote:
>
> > The OpenSBI build is similar to Linux and U-Boot. We expect
> > CROSS_COMPILE environment variable to be set.
>
> Why?  That doesn't make sense.

Use of CROSS_COMPILE environment variable is
pretty common across open-source projects to support
cross compilation.

>
> > Example, if you cross-compiler
>
> I don't have a cross compiler.

Okay, if you are doing native compilation then
make sure CROSS_COMPILE is not set so that
makefile will take native compiler instead of
cross-compiler.

Regards.
Anup


More information about the U-Boot mailing list