-
Notifications
You must be signed in to change notification settings - Fork 65
/
RefindPlusPkg.dsc
156 lines (135 loc) · 7.55 KB
/
RefindPlusPkg.dsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[Defines]
PLATFORM_NAME = RefindPlus
PLATFORM_GUID = CF424B08-2E9D-4E77-A6DD-71E0C8dE60F3
PLATFORM_VERSION = 4.5.0
DSC_SPECIFICATION = 0x00010006
SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM|AARCH64
BUILD_TARGETS = RELEASE|DEBUG|NOOPT
SKUID_IDENTIFIER = DEFAULT
[LibraryClasses]
##
# Entry point
##
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
##
# UEFI & PI
##
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
##
# Generic Modules
##
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
##
# Misc
##
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
BaseStackCheckLib|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
# For Debug logging ... Initially by Jief_Machak (sf.net/u/jief7/profile) from Clover
MemLogLib|RefindPlusPkg/Library/MemLogLib/MemLogLib.inf
# For Misc OpenCore Integration
OcConsoleLib|OpenCorePkg/Library/OcConsoleLib/OcConsoleLib.inf
FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
OcMiscLib|OpenCorePkg/Library/OcMiscLib/OcMiscLib.inf
OcFileLib|OpenCorePkg/Library/OcFileLib/OcFileLib.inf
OcGuardLib|OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf
OcStringLib|OpenCorePkg/Library/OcStringLib/OcStringLib.inf
OcDevicePathLib|OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf
# For SupplyAPFS
RP_ApfsLib|RefindPlusPkg/Library/RP_ApfsLib/RP_ApfsLib.inf
OcDriverConnectionLib|OpenCorePkg/Library/OcDriverConnectionLib/OcDriverConnectionLib.inf
# For AcquireGOP
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
# For SupplyNVME
NvmExpressLib|RefindPlusPkg/Library/NvmExpressLib/NvmExpressLib.inf
# For UnicodeCollationEng
OcUnicodeCollationEngGenericLib|OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngGenericLib.inf
[LibraryClasses.AARCH64]
CompilerIntrinsicsLib|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
[Components]
RefindPlusPkg/RefindPlus.inf
RefindPlusPkg/filesystems/btrfs.inf
RefindPlusPkg/filesystems/ext2.inf
RefindPlusPkg/filesystems/ext4.inf
RefindPlusPkg/filesystems/hfs.inf
RefindPlusPkg/filesystems/iso9660.inf
RefindPlusPkg/filesystems/ntfs.inf
RefindPlusPkg/filesystems/reiserfs.inf
RefindPlusPkg/gptsync/gptsync.inf
[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0x00
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000000
[BuildOptions.common]
DEFINE RFT_BLD_REL = -D__MAKEWITH_TIANO -DREFIT_DEBUG=0 -DMDEPKG_NDEBUG
DEFINE RFT_BLD_DBG = -D__MAKEWITH_TIANO -DREFIT_DEBUG=1
DEFINE RFT_BLD_NPT = -D__MAKEWITH_TIANO -DREFIT_DEBUG=2
[BuildOptions.IA32]
XCODE:RELEASE_*_*_CC_FLAGS = -Os -DEFI32 $(RFT_BLD_REL)
XCODE:DEBUG_*_*_CC_FLAGS = -Os -DEFI32 $(RFT_BLD_DBG)
XCODE:NOOPT_*_*_CC_FLAGS = -Os -DEFI32 $(RFT_BLD_NPT)
GCC:RELEASE_*_*_CC_FLAGS = -Os -DEFI32 $(RFT_BLD_REL)
GCC:DEBUG_*_*_CC_FLAGS = -Os -DEFI32 $(RFT_BLD_DBG)
GCC:NOOPT_*_*_CC_FLAGS = -Os -DEFI32 $(RFT_BLD_NPT)
[BuildOptions.X64]
XCODE:RELEASE_*_*_CC_FLAGS = -Os -DEFIX64 $(RFT_BLD_REL)
XCODE:DEBUG_*_*_CC_FLAGS = -Os -DEFIX64 $(RFT_BLD_DBG)
XCODE:NOOPT_*_*_CC_FLAGS = -Os -DEFIX64 $(RFT_BLD_NPT)
GCC:RELEASE_*_*_CC_FLAGS = -Os -DEFIX64 $(RFT_BLD_REL)
GCC:DEBUG_*_*_CC_FLAGS = -Os -DEFIX64 $(RFT_BLD_DBG)
GCC:NOOPT_*_*_CC_FLAGS = -Os -DEFIX64 $(RFT_BLD_NPT)
[BuildOptions.AARCH64]
XCODE:RELEASE_*_*_CC_FLAGS = -Os -DEFIAARCH64 $(RFT_BLD_REL)
XCODE:DEBUG_*_*_CC_FLAGS = -Os -DEFIAARCH64 $(RFT_BLD_DBG)
XCODE:NOOPT_*_*_CC_FLAGS = -Os -DEFIAARCH64 $(RFT_BLD_NPT)
GCC:RELEASE_*_*_CC_FLAGS = -Os -DEFIAARCH64 $(RFT_BLD_REL)
GCC:DEBUG_*_*_CC_FLAGS = -Os -DEFIAARCH64 $(RFT_BLD_DBG)
GCC:NOOPT_*_*_CC_FLAGS = -Os -DEFIAARCH64 $(RFT_BLD_NPT)