Sync BaseTool trunk (version r2397) into EDKII BaseTools. The change mainly includes
1. Fix the issue that root directory of disk can’t be used as WORKSPACE. 2. Update AutoGen code style to pass C++ compiler. Signed-off-by: lgao4 Reviewed-by: jsu1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12676 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -450,6 +450,7 @@ class InfDefSection(InfDefSectionOptionRomInfo):
|
||||
if len(ValueList) == 2:
|
||||
Type = ValueList[1]
|
||||
TypeList = GetSplitValueList(Type, ' ')
|
||||
TypeList = [Type for Type in TypeList if Type != '']
|
||||
for Item in TypeList:
|
||||
if Item not in DT.MODULE_LIST:
|
||||
ErrorInInf(ST.ERR_INF_PARSER_DEFINE_FROMAT_INVALID%(Item),
|
||||
|
Reference in New Issue
Block a user