Generate constructor of NULL library instances in order that they are listed in DSC...
[efi/basetools/.git] / Source / Python / AutoGen / AutoGen.py
index 43f8ee9..ba026a9 100755 (executable)
@@ -1175,7 +1175,7 @@ class PlatformAutoGen(AutoGen):
             M = LibraryInstance[LibraryClassName]
             LibraryList.append(M)
             if ConsumedByList[M] == []:
-                Q.insert(0, M)
+                Q.append(M)
 
         #
         # start the  DAG algorithm