Thanks I opened a bug to get this tracked. https://bugzilla.tianocore.org/show_bug.cgi?id=2640 In that bug i link to a commit which does the above using python.  It saves about 20 seconds for each build on linux in Azure pipelines. Thanks Sean