-
Notifications
You must be signed in to change notification settings - Fork 39
/
UefiToolsPkg.dsc
133 lines (121 loc) · 5.57 KB
/
UefiToolsPkg.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
#
# Time-stamp: <2017-09-24 23:05:35 andreiw>
# Copyright (C) 2017 Andrei Evgenievich Warkentin
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
[Defines]
PLATFORM_NAME = UefiToolsPkg
PLATFORM_GUID = 1234dade-8b6e-4e45-b773-1b27cbda3e06
PLATFORM_VERSION = 0.01
DSC_SPECIFICATION = 0x00010006
OUTPUT_DIRECTORY = Build/UefiToolsPkg
SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|IPF|EBC|PPC64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output
DEFINE DEBUG_PROPERTY_MASK = 0x2f
[BuildOptions]
#
# PPC64 only (https://github.com/andreiw/ppc64le-edk2):
#
# You can also build as elfv1, although the artifacts
# produced are not interchangeable (and won't mix
# on purpose due to different COFF architecture value).
#
*_*_PPC64_ABI_FLAGS = elfv2
[PcdsFeatureFlag]
[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
!include StdLib/StdLib.inc
#
# The following are *overrides* to StdLib libs. The section under
# which they are included *must match StdLib.inc.
#
# Also, stuff might randomly break if StdLib changes in incompatible
# ways. You've been warned. On the positive note, StdLib/LibC/Uefi/Devices/Console
# hasn't seen any action since Jan 10, 2016.
#
[LibraryClasses.Common.UEFI_APPLICATION]
LibUefi|UefiToolsPkg/Library/StdLibUefi/Uefi.inf
LibIIO|UefiToolsPkg/Library/StdLibInteractiveIO/IIO.inf
DevConsole|UefiToolsPkg/Library/StdLibDevConsole/daConsole.inf
[LibraryClasses]
#
# These are the libraries provided.
#
FTSLib|UefiToolsPkg/Library/FTSLib/FTSLib.inf
UtilsLib|UefiToolsPkg/Library/UtilsLib/UtilsLib.inf
StdExtLib|UefiToolsPkg/Library/StdExtLib/StdExtLib.inf
SoftFloatLib|UefiToolsPkg/Library/SoftFloatLib/SoftFloatLib.inf
RegexLib|UefiToolsPkg/Library/RegexLib/RegexLib.inf
#
# Everything else below is a dependency.
#
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
!if $(DEBUG_ENABLE_OUTPUT)
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
!else ## DEBUG_ENABLE_OUTPUT
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
!endif ## DEBUG_ENABLE_OUTPUT
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
#
# Shell lib pulls these dependencies.
#
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
#
# StdLib deps.
#
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
[LibraryClasses.ARM,LibraryClasses.AARCH64,LibraryClasses.PPC64]
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
[Components]
UefiToolsPkg/Applications/GdbSyms/GdbSyms.inf
UefiToolsPkg/Applications/AcpiDump/AcpiDump.inf
UefiToolsPkg/Applications/AcpiLoader/AcpiLoader.inf
UefiToolsPkg/Applications/ShellPlatVars/ShellPlatVars.inf
UefiToolsPkg/Applications/ShellErrVars/ShellErrVars.inf
UefiToolsPkg/Applications/ShellMapVar/ShellMapVar.inf
UefiToolsPkg/Applications/MemResv/MemResv.inf
UefiToolsPkg/Applications/RangeIsMapped/RangeIsMapped.inf
UefiToolsPkg/Applications/GopTool/GopTool.inf
UefiToolsPkg/Applications/PciRom/PciRom.inf
UefiToolsPkg/Applications/SetCon/SetCon.inf
UefiToolsPkg/Applications/ls/ls.inf
UefiToolsPkg/Applications/stat/stat.inf
UefiToolsPkg/Applications/cat/cat.inf
UefiToolsPkg/Applications/dd/dd.inf
UefiToolsPkg/Applications/grep/grep.inf
[Components.X64,Components.AArch64]
UefiToolsPkg/Applications/tinycc/TCCInUEFI.inf
[Components.ARM,Components.AARCH64,Components.PPC64]
UefiToolsPkg/Applications/FdtDump/FdtDump.inf
[Components.IA32,Components.X64,Components.ARM,Components.AArch64]
UefiToolsPkg/Drivers/QemuVideoDxe/QemuVideoDxe.inf {
<LibraryClasses>
FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
PciLib|MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf
}