]> git.proxmox.com Git - mirror_edk2.git/blob - OptionRomPkg/OptionRomPkg.dsc
edk2: Remove Contributions.txt and update Readme.md
[mirror_edk2.git] / OptionRomPkg / OptionRomPkg.dsc
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 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = OptionRomPkg
23 PLATFORM_GUID = C7B25F37-B1F4-4c46-99CB-3EA7DCF5FCDC
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/OptionRomPkg
27 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30
31 ################################################################################
32 #
33 # SKU Identification section - list of all SKU IDs supported by this
34 # Platform.
35 #
36 ################################################################################
37 [SkuIds]
38 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
39
40 [LibraryClasses]
41 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
42 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
43 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
44 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
45 BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf
46 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
47 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
48 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
49 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
50 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
51 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
52 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
54 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
55 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
56 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
57
58 [LibraryClasses.AARCH64, LibraryClasses.ARM]
59 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
60
61 [LibraryClasses.ARM]
62 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
63
64 ################################################################################
65 #
66 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
67 #
68 ################################################################################
69 [PcdsFeatureFlag]
70 gOptionRomPkgTokenSpaceGuid.PcdSupportScsiPassThru|TRUE
71 gOptionRomPkgTokenSpaceGuid.PcdSupportExtScsiPassThru|TRUE
72
73 [PcdsFixedAtBuild]
74 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
75 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
76 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0x0
77 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|0x0
78 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|0x0
79 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0x0
80 gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion|0x0002000a # EFI_2_10_SYSTEM_TABLE_REVISION
81
82 ###################################################################################################
83 #
84 # Components Section - list of the modules and components that will be processed by compilation
85 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
86 #
87 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
88 # into firmware volume images. This section is just a list of modules to compile from
89 # source into UEFI-compliant binaries.
90 # It is the FDF file that contains information on combining binary files into firmware
91 # volume images, whose concept is beyond UEFI and is described in PI specification.
92 # Binary modules do not need to be listed in this section, as they should be
93 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
94 # Logo (Logo.bmp), and etc.
95 # There may also be modules listed in this section that are not required in the FDF file,
96 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
97 # generated for it, but the binary will not be put into any firmware volume.
98 #
99 ###################################################################################################
100
101 [Components]
102 OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
103 OptionRomPkg/Library/GopBltLib/GopBltLib.inf
104
105 OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf
106 OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
107 OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf
108 OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDxe.inf
109 OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.inf
110 OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
111
112 [Components.IA32, Components.X64]
113 OptionRomPkg/Application/BltLibSample/BltLibSample.inf