[edk2-devel] [Patch V4 0/2] BaseTools: Add a checking for Sources section and update hashing feature

Christian Rodriguez posted 2 patches 4 years, 10 months ago
Failed in applying to current master (apply log)
BaseTools/Source/Python/AutoGen/AutoGen.py   |  6 +-
BaseTools/Source/Python/AutoGen/GenMake.py   | 44 +++++++++++++
BaseTools/Source/Python/Common/GlobalData.py |  3 +-
BaseTools/Source/Python/build/build.py       | 65 ++++++++++++--------
4 files changed, 91 insertions(+), 27 deletions(-)
[edk2-devel] [Patch V4 0/2] BaseTools: Add a checking for Sources section and update hashing feature
Posted by Christian Rodriguez 4 years, 10 months ago
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1804

In V4: Update commit messages.
In V3: Seperate checker and hashing into individual patches
In V2: Enable check for all builds, move conditional to hash invalidation
In the Edk2 INF spec 3.9, it states, All HII Unicode format files
must be listed in [Sources] section. Add a check to see if [Sources]
section lists all the "source" type files of a module. Performance
impact should be minimal with this patch since information is already
being fetched for Makefile purposes. All other information is already
cached in memory. No extra IO time is needed.

Christian Rodriguez (2):
  BaseTools: Add a checking for Sources section in INF file
  BaseTools: Refactor hash tracking after checking for Sources section

 BaseTools/Source/Python/AutoGen/AutoGen.py   |  6 +-
 BaseTools/Source/Python/AutoGen/GenMake.py   | 44 +++++++++++++
 BaseTools/Source/Python/Common/GlobalData.py |  3 +-
 BaseTools/Source/Python/build/build.py       | 65 ++++++++++++--------
 4 files changed, 91 insertions(+), 27 deletions(-)

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#41640): https://edk2.groups.io/g/devel/message/41640
Mute This Topic: https://groups.io/mt/31835554/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-