EdkShellPkg: Remove EdkShellPkg

EdkShellPkg is removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1107

Cc: Andrew Fish <afish@apple.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
shenglei 2018-10-31 09:52:17 +08:00 committed by Liming Gao
parent 6c15371695
commit 6caf954c1b
5 changed files with 0 additions and 21902 deletions

View File

@ -1,16 +0,0 @@
The Ia32/Ipf/X64 binaries of EdkShellBinPkg are generated with EFI shell project (svn r64) and build with Edk Compatibility & BaseTools Package (r12898). The binaries are built with no debug information by building with "RELEASE" target.
The following steps can help to re-generate these binaries for customization:
1. Check out EdkCompatibilityPkg (r12898) to $(WORKSPACE)\EdkCompatibilityPkg (svn https://svn.code.sf.net/p/edk2/code/trunk/edk2/EdkCompatibilityPkg).
2. Check out EdkShellPkg (r12898) to $(WORKSPACE)\EdkShellPkg (svn https://svn.code.sf.net/p/edk2/code/trunk/edk2/EdkShellPkg).
3. Check out Edk Shell project source (r64) to $(WORKSPACE)\Shell (svn https://svn.code.sf.net/p/efi-shell/code/trunk/Shell).
4. Check out BaseTools (r12898) to $(WORKSPACE)\BaseTools (svn https://svn.code.sf.net/p/edk2/code/trunk/edk2/BaseTools).
5. Under $(WORKSPACE) directory (i.e. c:\EdkII),
To generate Minimum Shell, execute: "build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc -m Shell\Shell.inf -b RELEASE".
To generate Full Shell, execute: "build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc -m Shell\ShellFull.inf -b RELEASE".
6. In EdkShellBinPkg\Bin, we only provides the binary files of those applications which haven't been contained in Minmum Shell but in Full Shell.
To generate them, execute: "build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc -m Shell\XXX\*.inf -b RELEASE". XXX means the corresponding module name.
The Arm binaries of EdkShellBinPkg are generated with EFI shell project (svn r64) and build with Edk Compatibility & BaseTools Package (r14706).
Build Instructions are available on this page http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPkg/Binaries.

View File

@ -1,240 +0,0 @@
## @file
# This package build validate file is used to build validate EDK Shell source,
# EDK Compatibility Package and the backward compatibility support of EDK II
# build tool.
#
# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
#
# 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 = EdkShellPkg
PLATFORM_GUID = 761BEE8B-58E3-4014-B8F5-0214A8DFA7EE
PLATFORM_VERSION = 1.04
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/EdkShellPkg
SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT
#
# Change the macro to the directory containing the source code from EDK Shell Project.
# This is a workspace relative directory
#
# DEFINE EDK_SHELL_DIR = EdkShellPkg/Shell # when "Shell" directory is under $(WORKSPACE)/EdkShellPkg
#
DEFINE EDK_SHELL_DIR = Shell # when "Shell" directory is directly under $(WORKSPACE)
DEFINE MSFT_MACRO = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00009000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 /D EFI_DEBUG
DEFINE INTEL_MACRO = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00009000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 /D EFI_DEBUG
DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x0002000A -DPI_SPECIFICATION_VERSION=0x00009000 -DTIANO_RELEASE_VERSION=0x00080006 -DPCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 -DEFI_DEBUG -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -DSTRING_DEFINES_FILE=\"$(BASE_NAME)StrDefs.h\"
[Libraries]
#
# Libraries common to PEI and DXE
#
EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib_Edk2.inf
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
#
# PEI libraries
#
EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
#
# DXE libraries
#
EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
#
# Print/Graphics Library consume SetupBrowser Print Protocol
#
EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
#
# Shell Library
#
$(EDK_SHELL_DIR)/Library/EfiShellLib.inf
[Libraries.IA32, Libraries.X64]
EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf
[Libraries.ARM, Libraries.AARCH64]
EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
###################################################################################################
#
# Components Section - list of the modules and components that will be processed by compilation
# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
#
# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
# into firmware volume images. This section is just a list of modules to compile from
# source into UEFI-compliant binaries.
# It is the FDF file that contains information on combining binary files into firmware
# volume images, whose concept is beyond UEFI and is described in PI specification.
# Binary modules do not need to be listed in this section, as they should be
# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
# Logo (Logo.bmp), and etc.
# There may also be modules listed in this section that are not required in the FDF file,
# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
# generated for it, but the binary will not be put into any firmware volume.
#
###################################################################################################
[Components]
$(EDK_SHELL_DIR)/Shell.inf {
<BuildOptions>
#
# Can not do this in nmake section of edk INF
#
GCC:*_*_*_CC_FLAGS = -DEFI_MONOSHELL
GCC:*_*_*_VFRPP_FLAGS = -DEFI_MONOSHELL
GCC:*_*_*_APP_FLAGS = -DEFI_MONOSHELL
GCC:*_*_*_PP_FLAGS = -DEFI_MONOSHELL
RVCT:*_*_ARM_CC_FLAGS = -DEFI_MONOSHELL
RVCT:*_*_ARM_VFRPP_FLAGS = -DEFI_MONOSHELL
RVCT:*_*_ARM_APP_FLAGS = -DEFI_MONOSHELL
RVCT:*_*_ARM_PP_FLAGS = -DEFI_MONOSHELL
}
$(EDK_SHELL_DIR)/ShellFull.inf {
<BuildOptions>
GCC:*_*_*_CC_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
GCC:*_*_*_VFRPP_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
GCC:*_*_*_APP_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
GCC:*_*_*_PP_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
RVCT:*_*_ARM_CC_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
RVCT:*_*_ARM_VFRPP_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
RVCT:*_*_ARM_APP_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
RVCT:*_*_ARM_PP_FLAGS = -DEFI_MONOSHELL -DEFI_FULLSHELL
}
$(EDK_SHELL_DIR)/attrib/attrib.inf
$(EDK_SHELL_DIR)/cls/cls.inf
$(EDK_SHELL_DIR)/comp/comp.inf
$(EDK_SHELL_DIR)/cp/cp.inf
$(EDK_SHELL_DIR)/date/date.inf
$(EDK_SHELL_DIR)/dblk/dblk.inf
$(EDK_SHELL_DIR)/devices/devices.inf
$(EDK_SHELL_DIR)/DeviceTree/devicetree.inf
$(EDK_SHELL_DIR)/dmem/dmem.inf
$(EDK_SHELL_DIR)/dmpstore/dmpstore.inf
$(EDK_SHELL_DIR)/drivers/drivers.inf
$(EDK_SHELL_DIR)/drvcfg/drvcfg.inf
$(EDK_SHELL_DIR)/drvdiag/drvdiag.inf
$(EDK_SHELL_DIR)/edit/edit.inf
$(EDK_SHELL_DIR)/EfiCompress/compress.inf
$(EDK_SHELL_DIR)/EfiDecompress/Decompress.inf
$(EDK_SHELL_DIR)/err/err.inf
$(EDK_SHELL_DIR)/guid/guid.inf
$(EDK_SHELL_DIR)/hexedit/hexedit.inf
$(EDK_SHELL_DIR)/IfConfig/IfConfig.inf
$(EDK_SHELL_DIR)/IpConfig/IpConfig.inf
$(EDK_SHELL_DIR)/load/load.inf
$(EDK_SHELL_DIR)/LoadPciRom/LoadPciRom.inf
$(EDK_SHELL_DIR)/ls/ls.inf
$(EDK_SHELL_DIR)/mem/mem.inf
$(EDK_SHELL_DIR)/memmap/memmap.inf
$(EDK_SHELL_DIR)/mkdir/mkdir.inf
$(EDK_SHELL_DIR)/mm/mm.inf
$(EDK_SHELL_DIR)/mode/mode.inf
$(EDK_SHELL_DIR)/mount/mount.inf
$(EDK_SHELL_DIR)/mv/mv.inf
$(EDK_SHELL_DIR)/newshell/nshell.inf
$(EDK_SHELL_DIR)/openinfo/openinfo.inf
$(EDK_SHELL_DIR)/pci/pci.inf
$(EDK_SHELL_DIR)/Ping/Ping.inf
$(EDK_SHELL_DIR)/reset/reset.inf
$(EDK_SHELL_DIR)/rm/rm.inf
$(EDK_SHELL_DIR)/sermode/sermode.inf
$(EDK_SHELL_DIR)/SmbiosView/Smbiosview.inf
$(EDK_SHELL_DIR)/stall/stall.inf
$(EDK_SHELL_DIR)/TelnetMgmt/TelnetMgmt.inf
$(EDK_SHELL_DIR)/time/time.inf
$(EDK_SHELL_DIR)/touch/touch.inf
$(EDK_SHELL_DIR)/type/type.inf
$(EDK_SHELL_DIR)/tzone/timezone.inf
$(EDK_SHELL_DIR)/unload/unload.inf
$(EDK_SHELL_DIR)/ver/Ver.inf
$(EDK_SHELL_DIR)/vol/Vol.inf
[BuildOptions.Common.EDK]
MSFT:*_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
MSFT:*_*_IA32_ASM_FLAGS = /DEFI32
MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
MSFT:*_*_IA32_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
MSFT:*_*_IA32_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
MSFT:*_*_X64_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
MSFT:*_*_X64_ASM_FLAGS = /DEFIX64
MSFT:*_*_X64_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
MSFT:*_*_X64_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
MSFT:*_*_X64_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
MSFT:*_*_*_BUILD_FLAGS = -s
INTEL:*_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
INTEL:*_*_IA32_ASM_FLAGS = /DEFI32
INTEL:*_*_IA32_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
INTEL:*_*_IA32_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
INTEL:*_*_IA32_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFI32
INTEL:*_*_X64_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
INTEL:*_*_X64_ASM_FLAGS = /DEFIX64
INTEL:*_*_X64_VFRPP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
INTEL:*_*_X64_APP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
INTEL:*_*_X64_PP_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D EFIX64
INTEL:*_*_*_BUILD_FLAGS = -s
GCC:*_*_IA32_CC_FLAGS = -DEFI32 $(GCC_MACRO)
GCC:*_*_IA32_VFRPP_FLAGS = -DEFI32 $(GCC_MACRO)
GCC:*_*_IA32_APP_FLAGS = -DEFI32 $(GCC_MACRO)
GCC:*_*_IA32_PP_FLAGS = -DEFI32 $(GCC_MACRO)
GCC:*_*_X64_CC_FLAGS = -DEFIX64 $(GCC_MACRO)
GCC:*_*_X64_VFRPP_FLAGS = -DEFIX64 $(GCC_MACRO)
GCC:*_*_X64_APP_FLAGS = -DEFIX64 $(GCC_MACRO)
GCC:*_*_X64_PP_FLAGS = -DEFIX64 $(GCC_MACRO)
GCC:*_*_ARM_CC_FLAGS = -DEFIARM $(GCC_MACRO)
GCC:*_*_ARM_VFRPP_FLAGS = -DEFIARM $(GCC_MACRO)
GCC:*_*_ARM_APP_FLAGS = -DEFIARM $(GCC_MACRO)
GCC:*_*_ARM_PP_FLAGS = -DEFIARM $(GCC_MACRO)
RVCT:*_*_ARM_CC_FLAGS = -DEFIARM $(GCC_MACRO)
RVCT:*_*_ARM_VFRPP_FLAGS = -DEFIARM $(GCC_MACRO)
RVCT:*_*_ARM_APP_FLAGS = -DEFIARM $(GCC_MACRO)
RVCT:*_*_ARM_PP_FLAGS = -DEFIARM $(GCC_MACRO)
GCC:*_*_AARCH64_CC_FLAGS = -DEFIAARCH64 $(GCC_MACRO)
GCC:*_*_AARCH64_VFRPP_FLAGS = -DEFIAARCH64 $(GCC_MACRO)
GCC:*_*_AARCH64_APP_FLAGS = -DEFIAARCH64 $(GCC_MACRO)
GCC:*_*_AARCH64_PP_FLAGS = -DEFIAARCH64 $(GCC_MACRO)

View File

@ -1,25 +0,0 @@
This is EDK style package and the following steps can help to build the package:
1. Download the newly EDK Shell project Efi-Shell-Dev-Snapshot-20090527.zip from the following URL and unzip it to
a local directory in workspace, for example, $(WORKSPACE)\Shell:
https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=46&expandFolder=46&folderID=53
Alternatively, the EDK Shell source directory can be retrieved from the following SVN address:
https://svn.code.sf.net/p/efi-shell/code/trunk/Shell
SVN Revision r33 corresponds to Efi-Shell-Dev-Snapshot-20090527.zip development snapshot.
2. Update EDK_SHELL_DIR macro in the [Defines] section in EdkShellPkg.dsc to point to
the directory containing the EDK Shell source directory, e.g. $(WORKSPACE)\Shell.
3. The EDK II style DSC file is used to validate build EDK Shell source & EDK compatibility package and can
generate the binaries in EdkShellBinPkg.
To use this file, execute the following command under workspace to build EDK Shell source:
build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc
4. If you need to compile for GCC or ARM you will need to apply ShellR64.patch.
cd $(WORKSPACE)/Shell and execute patch -p0 < $(WORKSPACE)/EdkShellPkg/ShellR64.patch.
If you are using a case sensative file system there are a few case bugs that patch
would not fix. Just fix the case of the file to match its usage and you should be
able to compile.
5. If you need to use the binaries that are built from this package, be sure to update platform FDF file
to replace the binaries from EdkShellBinPkg.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff