olofk / fusesoc

Package manager and build abstraction tool for FPGA/ASIC development
BSD 2-Clause "Simplified" License
1.14k stars 235 forks source link

Adding support for no_export flag. #608

Open shareefj opened 1 year ago

shareefj commented 1 year ago

Replicate --no-export command line argument using flags. This is useful for tool flows such as filelist generation where you don't want to copy all source files to the Fusesoc build directory.

shareefj commented 1 year ago

@olofk This was equivalent to an old PR I created, you closed during a clean up, I re-opened and subsequently closed after convincing myself that there was already support for this when there wasn't. So here it is again.

The use case is really just to enable specific tool flows to prevent source files being exported without having to rely on the user to remember to supply the command line argument. I currently only use this in filelist generation.