]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixPkg.dsc
Update for NetworkPkg.
[mirror_edk2.git] / UnixPkg / UnixPkg.dsc
index 50a95942a1ceef1883055659484242c407b1adcd..f76ac9e5765f7210aa06cd25a43070d620dcec95 100644 (file)
@@ -4,7 +4,7 @@
 #\r
 # The Emulation Platform can be used to debug individual modules, prior to creating\r
 #       a real platform. This also provides an example for how an DSC is created.\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #    This program and the accompanying materials\r
 #    are licensed and made available under the terms and conditions of the BSD License\r
@@ -25,7 +25,7 @@
   PLATFORM_NAME                  = Unix\r
   PLATFORM_GUID                  = 7b3c1fb4-8986-11db-b5b2-0040d02b1835\r
   PLATFORM_VERSION               = 0.3\r
-  DSC_ SPECIFICATION             = 0x00010005\r
+  DSC_SPECIFICATION              = 0x00010005\r
   OUTPUT_DIRECTORY               = Build/Unix\r
   SUPPORTED_ARCHITECTURES        = IA32\r
   BUILD_TARGETS                  = DEBUG|RELEASE\r
   # Misc\r
   #\r
   DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
+  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
   DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
   SecDispatchTableLib|UnixPkg/Library/SecDispatchTableLib/SecDispatchTableLib.inf\r
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|TRUE\r
 \r
 [PcdsFixedAtBuild]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r
   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r
   gEfiUnixPkgTokenSpaceGuid.PcdUnixCpuSpeed|L"3000"\r
   gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySize|L"128!128"\r
   gEfiUnixPkgTokenSpaceGuid.PcdUnixSerialPort|L"/dev/ttyS0!/dev/ttyS1"\r
+  gEfiUnixPkgTokenSpaceGuid.PcdUnixNetworkInterface|L"en0"\r
 \r
 [PcdsDynamicHii.common.DEFAULT]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEfiUnixSystemConfigGuid|0x0|80\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEfiUnixSystemConfigGuid|0x4|25\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiGlobalVariableGuid|0x0|80\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiGlobalVariableGuid|0x4|25\r
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r
-\r
+  \r
 ###################################################################################################\r
 #\r
 # Components Section - list of the modules and components that will be processed by compilation\r
 #       generated for it, but the binary will not be put into any firmware volume.\r
 #\r
 ###################################################################################################\r
-[Components.common]\r
+[Components]\r
   ##\r
   #  SEC Phase modules\r
   ##\r
   UnixPkg/UnixBlockIoDxe/UnixBlockIo.inf\r
   UnixPkg/UnixSerialIoDxe/UnixSerialIo.inf\r
   UnixPkg/UnixUgaDxe/UnixUga.inf\r
+  UnixPkg/UnixGopDxe/UnixGop.inf\r
+  \r
   UnixPkg/UnixConsoleDxe/UnixConsole.inf\r
   UnixPkg/UnixSimpleFileSystemDxe/UnixSimpleFileSystem.inf\r
   MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
 \r
   #\r
   # Network stack drivers\r
-  # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.\r
   #\r
+!if $(NETWORK_SUPPORT)\r
+  UnixPkg/UnixSnpDxe/UnixSnpDxe.inf\r
+!endif\r
   MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
   MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
   MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
   }\r
 \r
-  #FatPkg/EnhancedFatDxe/Fat.inf\r
+!if $(COMPILE_BINS)\r
+  FatPkg/EnhancedFatDxe/Fat.inf\r
+!endif\r
 \r