Move CompilerStub library for IA32 & x64 only.
[mirror_edk2.git] / EdkShellPkg / EdkShellPkg.dsc
CommitLineData
b6d1a17d 1#/** @file\r
2# This package build validate file is used to build validate EDK Shell source, \r
3# EDK Compatibility Package and the backward compatibility support of EDK II\r
4# build tool.\r
5#\r
6# Copyright (c) 2008. Intel Corporation\r
7#\r
8# All rights reserved. This program and the accompanying materials\r
9# are licensed and made available under the terms and conditions of the BSD License\r
10# which accompanies this distribution. The full text of the license may be found at\r
11# http://opensource.org/licenses/bsd-license.php\r
12#\r
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15#\r
16#**/\r
17\r
18[Defines]\r
19 PLATFORM_NAME = EdkShellPkg\r
20 PLATFORM_GUID = 761BEE8B-58E3-4014-B8F5-0214A8DFA7EE\r
21 PLATFORM_VERSION = 1.04\r
22 DSC_SPECIFICATION = 0x00010005\r
23 OUTPUT_DIRECTORY = Build/EdkShellPkg\r
24 SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r
25 BUILD_TARGETS = DEBUG|RELEASE\r
26 SKUID_IDENTIFIER = DEFAULT\r
52dbc2fb 27# \r
28# Change the macro to the directory containing the source code from EDK Shell Project.\r
29# \r
30DEFINE EDK_SHELL_DIR = Shell\r
b6d1a17d 31\r
32[Libraries]\r
33 #\r
34 # Libraries common to PEI and DXE\r
35 #\r
36 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf\r
37 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf\r
38 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf\r
39 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf\r
40 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf\r
41 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIA64Lib/CpuIA64Lib.inf\r
b6d1a17d 42 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf\r
43 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf\r
44 #\r
45 # PEI libraries\r
46 #\r
47 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf\r
48 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf\r
49 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf\r
50 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf\r
51 #\r
52 # DXE libraries\r
53 #\r
54 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf\r
55 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf\r
56 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf\r
57 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf\r
58 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf\r
59 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf\r
60 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf\r
61 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf\r
62 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf \r
63 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf\r
64 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf\r
65 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf\r
66 #\r
67 # Print/Graphics Library consume SetupBrowser Print Protocol\r
68 #\r
69 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf\r
70 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf\r
71 #\r
72 # Shell Library\r
73 #\r
52dbc2fb 74 $(EDK_SHELL_DIR)/Library/EfiShellLib.inf\r
b6d1a17d 75\r
f29d42d5 76[Libraries.IA32, Libraries.X64]\r
77 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
b6d1a17d 78\r
79[Components]\r
52dbc2fb 80 $(EDK_SHELL_DIR)/Shell.inf\r
81 $(EDK_SHELL_DIR)/ShellFull.inf\r
82 $(EDK_SHELL_DIR)/attrib/attrib.inf\r
83 $(EDK_SHELL_DIR)/cls/cls.inf\r
84 $(EDK_SHELL_DIR)/comp/comp.inf\r
85 $(EDK_SHELL_DIR)/cp/cp.inf\r
86 $(EDK_SHELL_DIR)/date/date.inf\r
87 $(EDK_SHELL_DIR)/dblk/dblk.inf\r
88 $(EDK_SHELL_DIR)/devices/devices.inf\r
89 $(EDK_SHELL_DIR)/DeviceTree/devicetree.inf\r
90 $(EDK_SHELL_DIR)/dmem/dmem.inf\r
91 $(EDK_SHELL_DIR)/dmpstore/dmpstore.inf\r
92 $(EDK_SHELL_DIR)/drivers/drivers.inf\r
93 $(EDK_SHELL_DIR)/drvcfg/drvcfg.inf\r
94 $(EDK_SHELL_DIR)/drvdiag/drvdiag.inf\r
95 $(EDK_SHELL_DIR)/edit/edit.inf\r
96 $(EDK_SHELL_DIR)/EfiCompress/compress.inf\r
97 $(EDK_SHELL_DIR)/EfiDecompress/Decompress.inf\r
98 $(EDK_SHELL_DIR)/err/err.inf\r
99 $(EDK_SHELL_DIR)/guid/guid.inf\r
100 $(EDK_SHELL_DIR)/hexedit/hexedit.inf\r
101 $(EDK_SHELL_DIR)/IfConfig/IfConfig.inf\r
102 $(EDK_SHELL_DIR)/IpConfig/IpConfig.inf\r
103 $(EDK_SHELL_DIR)/load/load.inf\r
104 $(EDK_SHELL_DIR)/LoadPciRom/LoadPciRom.inf\r
105 $(EDK_SHELL_DIR)/ls/ls.inf\r
106 $(EDK_SHELL_DIR)/mem/mem.inf\r
107 $(EDK_SHELL_DIR)/memmap/memmap.inf\r
108 $(EDK_SHELL_DIR)/mkdir/mkdir.inf\r
109 $(EDK_SHELL_DIR)/mm/mm.inf\r
110 $(EDK_SHELL_DIR)/mode/mode.inf\r
111 $(EDK_SHELL_DIR)/mount/mount.inf\r
112 $(EDK_SHELL_DIR)/mv/mv.inf\r
113 $(EDK_SHELL_DIR)/newshell/nshell.inf\r
114 $(EDK_SHELL_DIR)/openinfo/openinfo.inf\r
115 $(EDK_SHELL_DIR)/pci/pci.inf\r
116 $(EDK_SHELL_DIR)/Ping/Ping.inf\r
117 $(EDK_SHELL_DIR)/reset/reset.inf\r
118 $(EDK_SHELL_DIR)/rm/rm.inf\r
119 $(EDK_SHELL_DIR)/sermode/sermode.inf\r
120 $(EDK_SHELL_DIR)/SmbiosView/Smbiosview.inf\r
121 $(EDK_SHELL_DIR)/stall/stall.inf\r
122 $(EDK_SHELL_DIR)/TelnetMgmt/TelnetMgmt.inf\r
123 $(EDK_SHELL_DIR)/time/time.inf\r
124 $(EDK_SHELL_DIR)/touch/touch.inf\r
125 $(EDK_SHELL_DIR)/type/type.inf\r
126 $(EDK_SHELL_DIR)/tzone/timezone.inf\r
127 $(EDK_SHELL_DIR)/unload/unload.inf\r
128 $(EDK_SHELL_DIR)/ver/Ver.inf\r
129 $(EDK_SHELL_DIR)/vol/Vol.inf\r
b6d1a17d 130\r
131[BuildOptions]\r
132 *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32\r
133 *_*_IA32_ASM_FLAGS = /DEFI32\r
134 *_*_IA32_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32\r
135 *_*_IA32_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32\r
136 *_*_IA32_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32\r
137\r
138 *_*_X64_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64\r
139 *_*_X64_ASM_FLAGS = /DEFIX64\r
140 *_*_X64_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64\r
141 *_*_X64_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64\r
142 *_*_X64_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64\r
143\r
144 *_*_IPF_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64\r
145 *_*_IPF_ASM_FLAGS = \r
146 *_*_IPF_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64\r
147 *_*_IPF_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64\r
148 *_*_IPF_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64\r
149\r