]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/AppPkg.dsc
Clean up DEC files:
[mirror_edk2.git] / AppPkg / AppPkg.dsc
CommitLineData
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
88[LibraryClasses.IA32]\r
89 TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r
90 ## Comment out the above line and un-comment the line below for running under Nt32 emulation.\r
91# TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
92\r
93[LibraryClasses.X64]\r
94 TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r
95\r
96[LibraryClasses.IPF]\r
97 PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r
98 TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
99\r
100###################################################################################################\r
101#\r
102# Components Section - list of the modules and components that will be processed by compilation\r
103# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
104#\r
105# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
106# into firmware volume images. This section is just a list of modules to compile from\r
107# source into UEFI-compliant binaries.\r
108# It is the FDF file that contains information on combining binary files into firmware\r
109# volume images, whose concept is beyond UEFI and is described in PI specification.\r
110# Binary modules do not need to be listed in this section, as they should be\r
111# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
112# Logo (Logo.bmp), and etc.\r
113# There may also be modules listed in this section that are not required in the FDF file,\r
114# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
115# generated for it, but the binary will not be put into any firmware volume.\r
116#\r
117###################################################################################################\r
118\r
119[Components]\r
120# BaseLib and BaseMemoryLib need to be built with the /GL- switch when using the Microsoft\r
121# tool chain. This is required so that the library functions can be resolved during\r
122# the second pass of the linker during Link-time-code-generation.\r
123###\r
124 MdePkg/Library/BaseLib/BaseLib.inf {\r
125 <BuildOptions>\r
126 MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-\r
127 }\r
128\r
129 MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf {\r
130 <BuildOptions>\r
131 MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-\r
132 }\r
133\r
134#### Sample Applications.\r
135 AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.\r
136 AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.\r
137 AppPkg/Applications/Enquire/Enquire.inf\r
138\r
139################################################################\r
140#\r
141# See the additional comments below if you plan to run applications under the\r
142# Nt32 emulation environment.\r
143#\r
144\r
145[BuildOptions]\r
146 INTEL:*_*_*_CC_FLAGS = /Qfreestanding\r
147 MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t\r
148 GCC:*_*_*_CC_FLAGS = -ffreestanding -nostdinc -nostdlib\r
149\r
150# The Build Options, below, are only used when building the C library\r
151# to be run under the NT32 emulation. They disable the clock() system call\r
152# which is currently incompatible with the NT32 environment.\r
153# Just uncomment the lines below and select the correct TimerLib instance, above.\r
154\r
155 # INTEL:*_*_IA32_CC_FLAGS = /D NT32dvm\r
156 # MSFT:*_*_IA32_CC_FLAGS = /D NT32dvm\r
157 # GCC:*_*_IA32_CC_FLAGS = -DNT32dvm\r