2aa62f2b |
1 | ## @file\r |
2 | # Intel(r) UEFI Application Development Kit for EDK II.\r |
3 | # This package contains applications which depend upon Standard Libraries\r |
4 | # from the StdLib package.\r |
5 | #\r |
6 | # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections\r |
7 | # for important information about configuring this package for your\r |
8 | # environment.\r |
9 | #\r |
10 | # Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r |
11 | # This program and the accompanying materials\r |
12 | # are licensed and made available under the terms and conditions of the BSD License\r |
13 | # which accompanies this distribution. The full text of the license may be found at\r |
14 | # http://opensource.org/licenses/bsd-license.\r |
15 | #\r |
16 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
17 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
18 | ##\r |
19 | \r |
20 | [Defines]\r |
21 | PLATFORM_NAME = AppPkg\r |
22 | PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06\r |
23 | PLATFORM_VERSION = 0.01\r |
24 | DSC_SPECIFICATION = 0x00010006\r |
25 | OUTPUT_DIRECTORY = Build/AppPkg\r |
26 | SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r |
27 | BUILD_TARGETS = DEBUG|RELEASE\r |
28 | SKUID_IDENTIFIER = DEFAULT\r |
29 | \r |
30 | [PcdsFeatureFlag]\r |
31 | \r |
32 | [PcdsFixedAtBuild]\r |
33 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r |
34 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r |
35 | \r |
36 | [PcdsFixedAtBuild.IPF]\r |
37 | \r |
38 | [LibraryClasses]\r |
39 | #\r |
40 | # Entry Point Libraries\r |
41 | #\r |
42 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r |
43 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r |
44 | #\r |
45 | # Common Libraries\r |
46 | #\r |
47 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
48 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r |
49 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r |
50 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
51 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
52 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
53 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r |
54 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r |
55 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r |
56 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r |
57 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
58 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r |
59 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r |
60 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r |
61 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r |
62 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r |
63 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r |
64 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r |
65 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r |
66 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
67 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
68 | FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r |
69 | SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf\r |
70 | \r |
71 | #\r |
72 | # C Standard Libraries\r |
73 | #\r |
74 | LibC|StdLib/LibC/LibC.inf\r |
75 | LibStdLib|StdLib/LibC/StdLib/StdLib.inf\r |
76 | LibString|StdLib/LibC/String/String.inf\r |
77 | LibWchar|StdLib/LibC/Wchar/Wchar.inf\r |
78 | LibCType|StdLib/LibC/Ctype/Ctype.inf\r |
79 | LibTime|StdLib/LibC/Time/Time.inf\r |
80 | LibStdio|StdLib/LibC/Stdio/Stdio.inf\r |
81 | LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf\r |
82 | LibLocale|StdLib/LibC/Locale/Locale.inf\r |
83 | LibUefi|StdLib/LibC/Uefi/Uefi.inf\r |
84 | LibMath|StdLib/LibC/Math/Math.inf\r |
85 | LibSignal|StdLib/LibC/Signal/Signal.inf\r |
86 | LibNetUtil|StdLib/LibC/NetUtil/NetUtil.inf\r |
87 | \r |
65126b4e |
88 | # Libraries for device abstractions within the Standard C Library\r |
89 | # Applications should not directly access any functions defined in these libraries.\r |
90 | DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf\r |
91 | DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf\r |
92 | DevShell|StdLib/LibC/Uefi/Devices/daShell.inf\r |
93 | \r |
2aa62f2b |
94 | [LibraryClasses.IA32]\r |
95 | TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r |
af9c2a56 |
96 | # To run in an emulation environment, such as Nt32Pkg, comment out the TimerLib\r |
97 | # description above and un-comment the line below.\r |
2aa62f2b |
98 | # TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r |
99 | \r |
100 | [LibraryClasses.X64]\r |
101 | TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r |
102 | \r |
103 | [LibraryClasses.IPF]\r |
104 | PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r |
105 | TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r |
106 | \r |
107 | ###################################################################################################\r |
108 | #\r |
109 | # Components Section - list of the modules and components that will be processed by compilation\r |
110 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r |
111 | #\r |
112 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r |
113 | # into firmware volume images. This section is just a list of modules to compile from\r |
114 | # source into UEFI-compliant binaries.\r |
115 | # It is the FDF file that contains information on combining binary files into firmware\r |
116 | # volume images, whose concept is beyond UEFI and is described in PI specification.\r |
117 | # Binary modules do not need to be listed in this section, as they should be\r |
118 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r |
119 | # Logo (Logo.bmp), and etc.\r |
120 | # There may also be modules listed in this section that are not required in the FDF file,\r |
121 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r |
122 | # generated for it, but the binary will not be put into any firmware volume.\r |
123 | #\r |
124 | ###################################################################################################\r |
125 | \r |
126 | [Components]\r |
127 | # BaseLib and BaseMemoryLib need to be built with the /GL- switch when using the Microsoft\r |
128 | # tool chain. This is required so that the library functions can be resolved during\r |
129 | # the second pass of the linker during Link-time-code-generation.\r |
130 | ###\r |
131 | MdePkg/Library/BaseLib/BaseLib.inf {\r |
132 | <BuildOptions>\r |
133 | MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-\r |
134 | }\r |
135 | \r |
136 | MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf {\r |
137 | <BuildOptions>\r |
138 | MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-\r |
139 | }\r |
140 | \r |
141 | #### Sample Applications.\r |
142 | AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.\r |
143 | AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.\r |
144 | AppPkg/Applications/Enquire/Enquire.inf\r |
af9c2a56 |
145 | \r |
146 | # After extracting the Python distribution, un-comment the following line to build Python.\r |
147 | # AppPkg/Applications/Python/PythonCore.inf\r |
2aa62f2b |
148 | \r |
149 | ################################################################\r |
150 | #\r |
151 | # See the additional comments below if you plan to run applications under the\r |
152 | # Nt32 emulation environment.\r |
153 | #\r |
154 | \r |
155 | [BuildOptions]\r |
156 | INTEL:*_*_*_CC_FLAGS = /Qfreestanding\r |
157 | MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t\r |
158 | GCC:*_*_*_CC_FLAGS = -ffreestanding -nostdinc -nostdlib\r |
159 | \r |
160 | # The Build Options, below, are only used when building the C library\r |
af9c2a56 |
161 | # to be run under an emulation environment, such as Nt32Pkg. The clock()\r |
162 | # system call is modified to return -1 indicating that it is unsupported.\r |
2aa62f2b |
163 | # Just uncomment the lines below and select the correct TimerLib instance, above.\r |
164 | \r |
165 | # INTEL:*_*_IA32_CC_FLAGS = /D NT32dvm\r |
166 | # MSFT:*_*_IA32_CC_FLAGS = /D NT32dvm\r |
167 | # GCC:*_*_IA32_CC_FLAGS = -DNT32dvm\r |