Support for multiple GCC toolchains
Hi @strichmo
, this is a high-urgency PR, please review as soon as you get a chance.
To mimic what we'll have on the MetricsCI system, I have installed the PULP toolchain at /opt/riscv and the COREV toolchain (from Embecosm) at /opt/corev on my local machine. With these updates I can use the COREV variable to select the COREV toolchain for any testcase. For example, the following does what you'd expect:
$ make test TEST=interrupt_test COREV=YES
Note that using the PULP toolchain, the interrupt_test
test-program does not compile.
So, this all works for me locally. I want to ensure that it doesn't break anything you have. I'd also like to know why its necessary to pass variables explicitly to the bsp
Makefile.
Signed-off-by: Mike Thompson mike@openhwgroup.org