mirror of https://github.com/acidanthera/audk.git
BaseTools/UPT: Remove Macro Expend for UserExtension section
Remove Macro Expend for UserExtension section Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16226 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
43654b1cb9
commit
0414ec24ba
|
@ -216,20 +216,11 @@ class InfGuidPpiProtocolSectionParser(InfParserSectionRoot):
|
|||
#
|
||||
for Line in SectionString:
|
||||
LineContent = Line[0]
|
||||
LineNo = Line[1]
|
||||
|
||||
if LineContent.strip() == '':
|
||||
continue
|
||||
#
|
||||
# Replace with [Defines] section Macro
|
||||
#
|
||||
LineContent = InfExpandMacro(LineContent,
|
||||
(FileName, LineContent, LineNo),
|
||||
self.FileLocalMacros,
|
||||
None)
|
||||
|
||||
UserExtensionContent += LineContent + DT.END_OF_LINE
|
||||
|
||||
continue
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue