OptionRomPkg.dsc 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ## @file
  2. # Option Rom Package build validation file for All Architectures.
  3. #
  4. # This package is designed to interoperate with the EDK II open source project
  5. # at http://www.tianocore.org, and this package is required to build PCI compliant
  6. # Option ROM image for all CPU architectures, including EBC target.
  7. # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.
  8. #
  9. # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
  10. # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
  11. #
  12. # SPDX-License-Identifier: BSD-2-Clause-Patent
  13. #
  14. ##
  15. ################################################################################
  16. #
  17. # Defines Section - statements that will be processed to create a Makefile.
  18. #
  19. ################################################################################
  20. [Defines]
  21. PLATFORM_NAME = OptionRomPkg
  22. PLATFORM_GUID = C7B25F37-B1F4-4c46-99CB-3EA7DCF5FCDC
  23. PLATFORM_VERSION = 0.1
  24. DSC_SPECIFICATION = 0x00010005
  25. OUTPUT_DIRECTORY = Build/OptionRomPkg
  26. SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64
  27. BUILD_TARGETS = DEBUG|RELEASE
  28. SKUID_IDENTIFIER = DEFAULT
  29. ################################################################################
  30. #
  31. # SKU Identification section - list of all SKU IDs supported by this
  32. # Platform.
  33. #
  34. ################################################################################
  35. [SkuIds]
  36. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  37. [LibraryClasses]
  38. DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
  39. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  40. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  41. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  42. BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf
  43. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  44. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  45. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  46. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  47. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  48. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  49. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  50. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  51. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  52. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  53. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  54. [LibraryClasses.AARCH64, LibraryClasses.ARM]
  55. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  56. [LibraryClasses.ARM]
  57. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  58. ################################################################################
  59. #
  60. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  61. #
  62. ################################################################################
  63. [PcdsFeatureFlag]
  64. gOptionRomPkgTokenSpaceGuid.PcdSupportScsiPassThru|TRUE
  65. gOptionRomPkgTokenSpaceGuid.PcdSupportExtScsiPassThru|TRUE
  66. [PcdsFixedAtBuild]
  67. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
  68. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
  69. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0x0
  70. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|0x0
  71. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|0x0
  72. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0x0
  73. gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion|0x0002000a # EFI_2_10_SYSTEM_TABLE_REVISION
  74. ###################################################################################################
  75. #
  76. # Components Section - list of the modules and components that will be processed by compilation
  77. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  78. #
  79. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  80. # into firmware volume images. This section is just a list of modules to compile from
  81. # source into UEFI-compliant binaries.
  82. # It is the FDF file that contains information on combining binary files into firmware
  83. # volume images, whose concept is beyond UEFI and is described in PI specification.
  84. # Binary modules do not need to be listed in this section, as they should be
  85. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  86. # Logo (Logo.bmp), and etc.
  87. # There may also be modules listed in this section that are not required in the FDF file,
  88. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  89. # generated for it, but the binary will not be put into any firmware volume.
  90. #
  91. ###################################################################################################
  92. [Components]
  93. OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  94. OptionRomPkg/Library/GopBltLib/GopBltLib.inf
  95. OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf
  96. OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
  97. OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf
  98. OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDxe.inf
  99. OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.inf
  100. OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
  101. [Components.IA32, Components.X64]
  102. OptionRomPkg/Application/BltLibSample/BltLibSample.inf