What I am doing is that scons will have a separate dir (VariantDir) for each different SW build configuration. And in that folder the .c/.h SConscript plus some other script-generated-files are created. What's so odd is build job looks a lot more stable than the clean job. BR, Yanghao