X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FUPT%2FGenMetaFile%2FGenInfFile.py;h=a376f56fcfa80fc0d162e73402bc553f8b0dc187;hp=bb8a1206b17e1a98317e547f9b23de9f845d196e;hb=490433ab847cf318f31f73bbbc1a503ae47370a4;hpb=09e27ac559c5538a0b86afb0b056ef2a3f705483 diff --git a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py b/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py index bb8a1206b1..a376f56fcf 100644 --- a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py +++ b/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py @@ -568,8 +568,9 @@ def GenUserExtensions(ModuleObject): if UserExtension.GetIdentifier() == 'Depex': continue Statement = UserExtension.GetStatement() - if not Statement: - continue +# Comment the code to support user extension without any statement just the section header in [] +# if not Statement: +# continue ArchList = UserExtension.GetSupArchList() for Index in xrange(0, len(ArchList)): ArchList[Index] = ConvertArchForInstall(ArchList[Index])