Home | History | Annotate | Download | only in MdePkg
      1 ## @file

      2 # EFI/PI MdePkg Package

      3 #

      4 # Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>

      5 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>

      6 #

      7 #    This program and the accompanying materials

      8 #    are licensed and made available under the terms and conditions of the BSD License

      9 #    which accompanies this distribution. The full text of the license may be found at

     10 #    http://opensource.org/licenses/bsd-license.php

     11 #

     12 #    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     13 #    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     14 #

     15 ##

     16 
     17 [Defines]
     18   PLATFORM_NAME                  = Mde
     19   PLATFORM_GUID                  = 082F8BFC-0455-4859-AE3C-ECD64FB81642
     20   PLATFORM_VERSION               = 1.06
     21   DSC_SPECIFICATION              = 0x00010005
     22   OUTPUT_DIRECTORY               = Build/Mde
     23   SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM|AARCH64
     24   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
     25   SKUID_IDENTIFIER               = DEFAULT
     26 
     27 [PcdsFeatureFlag]
     28   gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE
     29 
     30 [PcdsFixedAtBuild]
     31   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
     32   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
     33   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
     34 
     35 [PcdsFixedAtBuild.IPF]
     36   gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000
     37 
     38 ###################################################################################################

     39 #

     40 # Components Section - list of the modules and components that will be processed by compilation

     41 #                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.

     42 #

     43 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed

     44 #       into firmware volume images. This section is just a list of modules to compile from

     45 #       source into UEFI-compliant binaries.

     46 #       It is the FDF file that contains information on combining binary files into firmware

     47 #       volume images, whose concept is beyond UEFI and is described in PI specification.

     48 #       Binary modules do not need to be listed in this section, as they should be

     49 #       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),

     50 #       Logo (Logo.bmp), and etc.

     51 #       There may also be modules listed in this section that are not required in the FDF file,

     52 #       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be

     53 #       generated for it, but the binary will not be put into any firmware volume.

     54 #

     55 ###################################################################################################

     56 
     57 [Components]
     58   MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
     59   MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
     60   MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
     61   MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
     62   MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
     63   MdePkg/Library/BaseLib/BaseLib.inf
     64   MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
     65   MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
     66   MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
     67   MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
     68   MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
     69   MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
     70   MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
     71   MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
     72   MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
     73   MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
     74   MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
     75   MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
     76   MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
     77   MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
     78   MdePkg/Library/BasePrintLib/BasePrintLib.inf
     79   MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
     80   MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
     81   MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
     82   MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
     83   MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
     84   MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
     85 
     86   MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
     87   MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
     88   MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
     89   MdePkg/Library/DxeHobLib/DxeHobLib.inf
     90   MdePkg/Library/DxePcdLib/DxePcdLib.inf
     91   MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
     92   MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
     93   MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
     94   MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf
     95   MdePkg/Library/DxeHstiLib/DxeHstiLib.inf
     96 
     97   MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf
     98 
     99   MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
    100   MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
    101   MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
    102   MdePkg/Library/PeiHobLib/PeiHobLib.inf
    103   MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
    104   MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
    105   MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf
    106   MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
    107   MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
    108   MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
    109   MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
    110   MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
    111   MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf
    112   MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf
    113   MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf
    114 
    115   MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
    116   MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
    117   MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
    118   MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf
    119   MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
    120   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
    121   MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
    122   MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
    123   MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
    124   MdePkg/Library/UefiLib/UefiLib.inf
    125   MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
    126   MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf
    127   MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
    128   MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
    129   MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
    130   MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf
    131   MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf
    132   MdePkg/Library/SmmLibNull/SmmLibNull.inf
    133   MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
    134 
    135 [Components.IA32, Components.X64]
    136   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
    137   MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
    138   MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
    139   MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
    140   MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
    141   MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
    142   MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
    143   MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
    144   MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
    145   MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf
    146   MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf
    147   MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
    148   MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
    149   MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf
    150   MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
    151   MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
    152   MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
    153   MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf
    154   MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf
    155   MdePkg/Library/SmmMemLib/SmmMemLib.inf
    156   MdePkg/Library/BaseRngLib/BaseRngLib.inf
    157   MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf
    158 
    159 [Components.IPF]
    160   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
    161   MdePkg/Library/BasePalLibNull/BasePalLibNull.inf
    162   MdePkg/Library/PeiPalLib/PeiPalLib.inf
    163   MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointerLibKr7.inf
    164   MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
    165   MdePkg/Library/UefiPalLib/UefiPalLib.inf
    166   MdePkg/Library/UefiSalLib/UefiSalLib.inf
    167   MdePkg/Library/DxeExtendedSalLib/DxeExtendedSalLib.inf
    168   MdePkg/Library/DxeIoLibEsal/DxeIoLibEsal.inf
    169   MdePkg/Library/DxePalLibEsal/DxePalLibEsal.inf
    170   MdePkg/Library/DxePciLibEsal/DxePciLibEsal.inf
    171   MdePkg/Library/DxePciSegmentLibEsal/DxePciSegmentLibEsal.inf
    172   MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
    173   MdePkg/Library/DxeSalLibEsal/DxeSalLibEsal.inf
    174   MdePkg/Library/DxeTimerLibEsal/DxeTimerLibEsal.inf  
    175   
    176 [Components.EBC]
    177   MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
    178   MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
    179 
    180 [Components.ARM, Components.AARCH64]
    181   MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
    182 
    183 [BuildOptions]
    184   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
    185