]> git.proxmox.com Git - mirror_edk2.git/blob - FatPkg/FatPkg.dsc
d86256068b4d209441406d93950e111d17759ad8
[mirror_edk2.git] / FatPkg / FatPkg.dsc
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 - 2018, 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 [LibraryClasses]
31 #
32 # Entry Point Libraries
33 #
34 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
35 #
36 # Common Libraries
37 #
38 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
39 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
40 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
43 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
44 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
45 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
46 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
47 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
48 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
49
50 [LibraryClasses.common.PEIM]
51 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
52 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
53 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
54 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
55 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
56
57 [LibraryClasses.ARM, LibraryClasses.AARCH64]
58 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
59 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
60
61 ###################################################################################################
62 #
63 # Components Section - list of the modules and components that will be processed by compilation
64 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
65 #
66 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
67 # into firmware volume images. This section is just a list of modules to compile from
68 # source into UEFI-compliant binaries.
69 # It is the FDF file that contains information on combining binary files into firmware
70 # volume images, whose concept is beyond UEFI and is described in PI specification.
71 # Binary modules do not need to be listed in this section, as they should be
72 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
73 # Logo (Logo.bmp), and etc.
74 # There may also be modules listed in this section that are not required in the FDF file,
75 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
76 # generated for it, but the binary will not be put into any firmware volume.
77 #
78 ###################################################################################################
79
80 [Components]
81 FatPkg/FatPei/FatPei.inf
82 FatPkg/EnhancedFatDxe/Fat.inf