software: use native toolchain for same host, target architectures
authorGabriel L. Somlo <gsomlo@gmail.com>
Fri, 23 Aug 2019 12:56:02 +0000 (08:56 -0400)
committerGabriel L. Somlo <gsomlo@gmail.com>
Fri, 23 Aug 2019 13:04:55 +0000 (09:04 -0400)
commit6d844a038a4b5244a2c459b1e7c0c4fee4baf5bf
treeec7fef9b3a8ba1ec38f1bbf6f4969a237cb9ddfb
parentd36f1fb7d2be517463e33be79b8c2a643ffeed9a
software: use native toolchain for same host, target architectures

LiteX rightfully assumes that most often the target software must
be cross-compiled from an x86 host platform. However, LiteX can be
also built on a 'linux-riscv64' platform (e.g. Fedora's riscv64
port), where the software for riscv64 targets should be compiled
using the native toolchain.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/integration/cpu_interface.py
litex/soc/software/common.mak