public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch V4 0/2] BaseTools: Add a checking for Sources section and update hashing feature
@ 2019-05-29 16:26 Christian Rodriguez
  2019-05-29 16:26 ` [Patch V4 1/2] BaseTools: Add a checking for Sources section in INF file Christian Rodriguez
  2019-05-29 16:26 ` [Patch V4 2/2] BaseTools: Refactor hash tracking after checking for Sources section Christian Rodriguez
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Rodriguez @ 2019-05-29 16:26 UTC (permalink / raw)
  To: devel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-30  6:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-29 16:26 [Patch V4 0/2] BaseTools: Add a checking for Sources section and update hashing feature Christian Rodriguez
2019-05-29 16:26 ` [Patch V4 1/2] BaseTools: Add a checking for Sources section in INF file Christian Rodriguez
2019-05-30  6:17   ` Bob Feng
2019-05-29 16:26 ` [Patch V4 2/2] BaseTools: Refactor hash tracking after checking for Sources section Christian Rodriguez
2019-05-30  6:18   ` Bob Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox