esl-epfl / x-heep

eXtendable Heterogeneous Energy-Efficient Platform based on RISC-V
Other
141 stars 75 forks source link

Add EXCLUDE keyword into CMakeLists #527

Closed JuanSapriza closed 3 months ago

JuanSapriza commented 3 months ago

Because in some eXtensions you need a parallel compilation flow (gcc for the main application, and a custom compiler for kernels, for example), we needed a way of excluding files from the compilation flow.

This is achieved by adding the keyword exclude into a directory/file to avoid compilation with gcc.

Waiting for @LuigiGiuffrida98 to test this on HEEPatia and confirm it works.

JuanSapriza commented 3 months ago

Also made a parameter optional in the Makefile (request from @LuigiGiuffrida98 )

LuigiGiuffrida98 commented 3 months ago

Tested and working up to now, can be merged