qhuang8 | 4637580 | 2009-08-24 15:32:15 +0000 | [diff] [blame^] | 1 | #/** @file
|
| 2 | # This package build validate file is used to build validate EDK Shell source,
|
| 3 | # EDK Compatibility Package and the backward compatibility support of EDK II
|
| 4 | # build tool.
|
| 5 | #
|
| 6 | # Copyright (c) 2008. Intel Corporation
|
| 7 | #
|
| 8 | # All rights reserved. This program and the accompanying materials
|
| 9 | # are licensed and made available under the terms and conditions of the BSD License
|
| 10 | # which accompanies this distribution. The full text of the license may be found at
|
| 11 | # http://opensource.org/licenses/bsd-license.php
|
| 12 | #
|
| 13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 15 | #
|
| 16 | #**/
|
| 17 |
|
| 18 | [Defines]
|
| 19 | PLATFORM_NAME = EdkShellPkg
|
| 20 | PLATFORM_GUID = 761BEE8B-58E3-4014-B8F5-0214A8DFA7EE
|
| 21 | PLATFORM_VERSION = 1.04
|
| 22 | DSC_SPECIFICATION = 0x00010005
|
| 23 | OUTPUT_DIRECTORY = Build/EdkShellPkg
|
| 24 | SUPPORTED_ARCHITECTURES = IA32|IPF|X64
|
| 25 | BUILD_TARGETS = DEBUG|RELEASE
|
| 26 | SKUID_IDENTIFIER = DEFAULT
|
| 27 | #
|
| 28 | # Change the macro to the directory containing the source code from EDK Shell Project.
|
| 29 | # This is a workspace relative directory
|
| 30 | #
|
| 31 | # DEFINE EDK_SHELL_DIR = EdkShellPkg/Shell # when "Shell" directory is under $(WORKSPACE)/EdkShellPkg
|
| 32 | #
|
| 33 | DEFINE EDK_SHELL_DIR = Shell # when "Shell" directory is directly under $(WORKSPACE)
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 | [Libraries]
|
| 38 | #
|
| 39 | # Libraries common to PEI and DXE
|
| 40 | #
|
| 41 | EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
|
| 42 | EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
|
| 43 | EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
|
| 44 | EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
|
| 45 | EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
|
| 46 | EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
|
| 47 | EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
|
| 48 | EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
|
| 49 | #
|
| 50 | # PEI libraries
|
| 51 | #
|
| 52 | EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
|
| 53 | EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
|
| 54 | EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
|
| 55 | EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
|
| 56 | #
|
| 57 | # DXE libraries
|
| 58 | #
|
| 59 | EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
|
| 60 | EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
|
| 61 | EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
|
| 62 | EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
|
| 63 | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
|
| 64 | EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
|
| 65 | EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
|
| 66 | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
|
| 67 | EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
|
| 68 | EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
|
| 69 | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
|
| 70 | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
|
| 71 | #
|
| 72 | # Print/Graphics Library consume SetupBrowser Print Protocol
|
| 73 | #
|
| 74 | EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
|
| 75 | EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
|
| 76 | #
|
| 77 | # Shell Library
|
| 78 | #
|
| 79 | $(EDK_SHELL_DIR)/Library/EfiShellLib.inf
|
| 80 |
|
| 81 | [Libraries.IA32, Libraries.X64]
|
| 82 | EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
|
| 83 |
|
| 84 | ###################################################################################################
|
| 85 | #
|
| 86 | # Components Section - list of the modules and components that will be processed by compilation
|
| 87 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
|
| 88 | #
|
| 89 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
|
| 90 | # into firmware volume images. This section is just a list of modules to compile from
|
| 91 | # source into UEFI-compliant binaries.
|
| 92 | # It is the FDF file that contains information on combining binary files into firmware
|
| 93 | # volume images, whose concept is beyond UEFI and is described in PI specification.
|
| 94 | # Binary modules do not need to be listed in this section, as they should be
|
| 95 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
|
| 96 | # Logo (Logo.bmp), and etc.
|
| 97 | # There may also be modules listed in this section that are not required in the FDF file,
|
| 98 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
|
| 99 | # generated for it, but the binary will not be put into any firmware volume.
|
| 100 | #
|
| 101 | ###################################################################################################
|
| 102 |
|
| 103 | [Components]
|
| 104 | $(EDK_SHELL_DIR)/Shell.inf
|
| 105 | $(EDK_SHELL_DIR)/ShellFull.inf
|
| 106 | $(EDK_SHELL_DIR)/attrib/attrib.inf
|
| 107 | $(EDK_SHELL_DIR)/cls/cls.inf
|
| 108 | $(EDK_SHELL_DIR)/comp/comp.inf
|
| 109 | $(EDK_SHELL_DIR)/cp/cp.inf
|
| 110 | $(EDK_SHELL_DIR)/date/date.inf
|
| 111 | $(EDK_SHELL_DIR)/dblk/dblk.inf
|
| 112 | $(EDK_SHELL_DIR)/devices/devices.inf
|
| 113 | $(EDK_SHELL_DIR)/DeviceTree/devicetree.inf
|
| 114 | $(EDK_SHELL_DIR)/dmem/dmem.inf
|
| 115 | $(EDK_SHELL_DIR)/dmpstore/dmpstore.inf
|
| 116 | $(EDK_SHELL_DIR)/drivers/drivers.inf
|
| 117 | $(EDK_SHELL_DIR)/drvcfg/drvcfg.inf
|
| 118 | $(EDK_SHELL_DIR)/drvdiag/drvdiag.inf
|
| 119 | $(EDK_SHELL_DIR)/edit/edit.inf
|
| 120 | $(EDK_SHELL_DIR)/EfiCompress/compress.inf
|
| 121 | $(EDK_SHELL_DIR)/EfiDecompress/Decompress.inf
|
| 122 | $(EDK_SHELL_DIR)/err/err.inf
|
| 123 | $(EDK_SHELL_DIR)/guid/guid.inf
|
| 124 | $(EDK_SHELL_DIR)/hexedit/hexedit.inf
|
| 125 | $(EDK_SHELL_DIR)/IfConfig/IfConfig.inf
|
| 126 | $(EDK_SHELL_DIR)/IpConfig/IpConfig.inf
|
| 127 | $(EDK_SHELL_DIR)/load/load.inf
|
| 128 | $(EDK_SHELL_DIR)/LoadPciRom/LoadPciRom.inf
|
| 129 | $(EDK_SHELL_DIR)/ls/ls.inf
|
| 130 | $(EDK_SHELL_DIR)/mem/mem.inf
|
| 131 | $(EDK_SHELL_DIR)/memmap/memmap.inf
|
| 132 | $(EDK_SHELL_DIR)/mkdir/mkdir.inf
|
| 133 | $(EDK_SHELL_DIR)/mm/mm.inf
|
| 134 | $(EDK_SHELL_DIR)/mode/mode.inf
|
| 135 | $(EDK_SHELL_DIR)/mount/mount.inf
|
| 136 | $(EDK_SHELL_DIR)/mv/mv.inf
|
| 137 | $(EDK_SHELL_DIR)/newshell/nshell.inf
|
| 138 | $(EDK_SHELL_DIR)/openinfo/openinfo.inf
|
| 139 | $(EDK_SHELL_DIR)/pci/pci.inf
|
| 140 | $(EDK_SHELL_DIR)/Ping/Ping.inf
|
| 141 | $(EDK_SHELL_DIR)/reset/reset.inf
|
| 142 | $(EDK_SHELL_DIR)/rm/rm.inf
|
| 143 | $(EDK_SHELL_DIR)/sermode/sermode.inf
|
| 144 | $(EDK_SHELL_DIR)/SmbiosView/Smbiosview.inf
|
| 145 | $(EDK_SHELL_DIR)/stall/stall.inf
|
| 146 | $(EDK_SHELL_DIR)/TelnetMgmt/TelnetMgmt.inf
|
| 147 | $(EDK_SHELL_DIR)/time/time.inf
|
| 148 | $(EDK_SHELL_DIR)/touch/touch.inf
|
| 149 | $(EDK_SHELL_DIR)/type/type.inf
|
| 150 | $(EDK_SHELL_DIR)/tzone/timezone.inf
|
| 151 | $(EDK_SHELL_DIR)/unload/unload.inf
|
| 152 | $(EDK_SHELL_DIR)/ver/Ver.inf
|
| 153 | $(EDK_SHELL_DIR)/vol/Vol.inf
|
| 154 |
|
| 155 | [BuildOptions]
|
| 156 | MSFT:*_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 157 | MSFT:*_*_IA32_ASM_FLAGS = /DEFI32
|
| 158 | MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 159 | MSFT:*_*_IA32_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 160 | MSFT:*_*_IA32_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 161 |
|
| 162 | MSFT:*_*_X64_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 163 | MSFT:*_*_X64_ASM_FLAGS = /DEFIX64
|
| 164 | MSFT:*_*_X64_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 165 | MSFT:*_*_X64_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 166 | MSFT:*_*_X64_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 167 |
|
| 168 | MSFT:*_*_IPF_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 169 | MSFT:*_*_IPF_ASM_FLAGS =
|
| 170 | MSFT:*_*_IPF_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 171 | MSFT:*_*_IPF_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 172 | MSFT:*_*_IPF_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 173 |
|
| 174 | MSFT:*_*_*_BUILD_FLAGS = -s
|
| 175 |
|
| 176 | INTEL:*_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 177 | INTEL:*_*_IA32_ASM_FLAGS = /DEFI32
|
| 178 | INTEL:*_*_IA32_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 179 | INTEL:*_*_IA32_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 180 | INTEL:*_*_IA32_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
|
| 181 |
|
| 182 | INTEL:*_*_X64_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 183 | INTEL:*_*_X64_ASM_FLAGS = /DEFIX64
|
| 184 | INTEL:*_*_X64_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 185 | INTEL:*_*_X64_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 186 | INTEL:*_*_X64_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
|
| 187 |
|
| 188 | INTEL:*_*_IPF_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 189 | INTEL:*_*_IPF_ASM_FLAGS =
|
| 190 | INTEL:*_*_IPF_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 191 | INTEL:*_*_IPF_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 192 | INTEL:*_*_IPF_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI64
|
| 193 |
|
| 194 | INTEL:*_*_*_BUILD_FLAGS = -s
|
| 195 |
|
| 196 |
|