]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixPkgX64.dsc
Update MODULE_TYPE to be DXE_RUNTIME_DRIVER
[mirror_edk2.git] / UnixPkg / UnixPkgX64.dsc
index 8411eb62a824b25b4a8bea3abb7539cabd0da0d3..e843d09863ad262183f4c10cc0c7893f14eaeeef 100644 (file)
   PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf\r
 \r
 [LibraryClasses.X64]\r
+  # turn off CR3 write so that DXE IPL will not crash emulator\r
   BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf\r
 \r
 ################################################################################\r
 #\r
 ###################################################################################################\r
 [Components.common]\r
+!if $(SEC_ONLY)\r
   ##\r
   #  SEC Phase modules\r
   ##\r
   UnixPkg/Sec/SecMain.inf\r
-\r
+!else\r
   ##\r
   #  PEI Phase modules\r
   ##\r
   MdeModulePkg/Core/Dxe/DxeMain.inf {\r
     <LibraryClasses>\r
       NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
+      NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
   }\r
   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
     <LibraryClasses>\r
   }\r
 \r
   FatPkg/EnhancedFatDxe/Fat.inf\r
-\r
+!endif  \r