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