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