mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
BaseTools: Fixed issue of incorrect Module Unique Name
https://bugzilla.tianocore.org/show_bug.cgi?id=2088 If there are more than one override instance for a same module, the Module Unique Name is generated incorrectly. Cc: Liming Gao <liming.gao@intel.com> Cc: Steven Shi <steven.shi@intel.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
5726bdd9a2
commit
76e12fa334
2 changed files with 4 additions and 3 deletions
|
|
@ -295,7 +295,7 @@ class ModuleAutoGen(AutoGen):
|
|||
ModuleNames = self.DataPipe.Get("M_Name")
|
||||
if not ModuleNames:
|
||||
return self.Name
|
||||
return ModuleNames.get(self.Name,self.Name)
|
||||
return ModuleNames.get((self.Name,self.MetaFile),self.Name)
|
||||
|
||||
# Macros could be used in build_rule.txt (also Makefile)
|
||||
@cached_property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue