FatPkg.dsc 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. ## @file
  2. # Build Binary Enhanced Fat Driver Modules.
  3. #
  4. # This Platform file is used to generate the Binary Fat Drivers
  5. # for EDK II Prime release.
  6. # Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
  7. # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
  8. #
  9. # SPDX-License-Identifier: BSD-2-Clause-Patent
  10. #
  11. ##
  12. [Defines]
  13. PLATFORM_NAME = Fat
  14. PLATFORM_GUID = 25b55dbc-9d0b-4a32-80da-46e1273d622c
  15. PLATFORM_VERSION = 0.3
  16. DSC_SPECIFICATION = 0x00010005
  17. SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
  18. OUTPUT_DIRECTORY = Build/Fat
  19. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  20. SKUID_IDENTIFIER = DEFAULT
  21. [BuildOptions]
  22. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  23. INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  24. MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  25. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
  26. !include MdePkg/MdeLibs.dsc.inc
  27. [LibraryClasses]
  28. #
  29. # Entry Point Libraries
  30. #
  31. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  32. #
  33. # Common Libraries
  34. #
  35. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  36. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  37. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  38. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  39. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  40. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  41. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  42. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  43. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  44. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  45. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  46. [LibraryClasses.common.PEIM]
  47. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  48. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  49. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  50. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  51. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  52. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  53. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  54. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  55. ###################################################################################################
  56. #
  57. # Components Section - list of the modules and components that will be processed by compilation
  58. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  59. #
  60. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  61. # into firmware volume images. This section is just a list of modules to compile from
  62. # source into UEFI-compliant binaries.
  63. # It is the FDF file that contains information on combining binary files into firmware
  64. # volume images, whose concept is beyond UEFI and is described in PI specification.
  65. # Binary modules do not need to be listed in this section, as they should be
  66. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  67. # Logo (Logo.bmp), and etc.
  68. # There may also be modules listed in this section that are not required in the FDF file,
  69. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  70. # generated for it, but the binary will not be put into any firmware volume.
  71. #
  72. ###################################################################################################
  73. [Components]
  74. FatPkg/FatPei/FatPei.inf
  75. FatPkg/EnhancedFatDxe/Fat.inf