]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/FatPkg.dsc
EmulatorPkg: Remove framework pkgs dependency from EmulatorPkg
[mirror_edk2.git] / FatPkg / FatPkg.dsc
index cfb73f27f2b5afd301859b08a98475454d944af2..1676c2eb8ffe5ae1dae0c893874e85ac83d6dd5f 100644 (file)
@@ -1,31 +1,31 @@
 ## @file\r
-#\r
-#  Build Binary Enhanced Fat Driver Modules\r
+#  Build Binary Enhanced Fat Driver Modules.\r
 #\r
 #  This Platform file is used to generate the Binary Fat Drivers\r
 #  for EDK II Prime release.\r
-#  Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
-#\r
-#  This program and the accompanying materials are licensed and made available\r
-#  under the terms and conditions of the BSD License which accompanies this\r
-#  distribution. The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
+#  Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 \r
 [Defines]\r
   PLATFORM_NAME                  = Fat\r
   PLATFORM_GUID                  = 25b55dbc-9d0b-4a32-80da-46e1273d622c\r
-  PLATFORM_VERSION               = 0.1\r
+  PLATFORM_VERSION               = 0.3\r
   DSC_SPECIFICATION              = 0x00010005\r
-  SUPPORTED_ARCHITECTURES        = IA32|X64|IPF|EBC\r
+  SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64\r
   OUTPUT_DIRECTORY               = Build/Fat\r
-  BUILD_TARGETS                  = DEBUG|RELEASE\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
+[BuildOptions]\r
+  GCC:RELEASE_*_*_CC_FLAGS             = -DMDEPKG_NDEBUG\r
+  INTEL:RELEASE_*_*_CC_FLAGS           = /D MDEPKG_NDEBUG\r
+  MSFT:RELEASE_*_*_CC_FLAGS            = /D MDEPKG_NDEBUG\r
+  RVCT:RELEASE_*_*_CC_FLAGS            = -DMDEPKG_NDEBUG\r
+  *_*_*_CC_FLAGS                       = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
+\r
 [LibraryClasses]\r
   #\r
   # Entry Point Libraries\r
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
-  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
+  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
-  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf  \r
+  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
 \r
+[LibraryClasses.common.PEIM]\r
+  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
+  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
+  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
+  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
+  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
+\r
+[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
+  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
+  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
+\r
 ###################################################################################################\r
 #\r
 # Components Section - list of the modules and components that will be processed by compilation\r
@@ -66,4 +77,5 @@
 ###################################################################################################\r
 \r
 [Components]\r
+  FatPkg/FatPei/FatPei.inf\r
   FatPkg/EnhancedFatDxe/Fat.inf\r