2008-01-25 04:28:25 +01:00
The binaries of EdkShellBinPkg are generated with EDK-Shell 1.04 release and build with Edk Compatibility & BaseTools Package
(r4631)
2007-10-29 08:44:04 +01:00
2008-02-19 05:22:53 +01:00
The following steps can help to re-generate these binaries for customization:
2008-01-25 04:28:25 +01:00
1. Check out EdkCompatibilityPkg (r4631) to a directory EdkCompatibilityPkg in workspace (svn https://edk2.tianocore.org/svn/edk2/trunk/edk2/EdkCompatibilityPkg).
2. Update to the newest BaseTools package.
2. Download EfiShell 1.04.zip from EDK Shell official release https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=52&expandFolder=52&folderID=45
2008-02-19 05:22:53 +01:00
3. Unzip it to be a sub-directory in EdkCompatibilityPkg , i.e. c:\EdkII\EdkCompatibilityPkg\Shell
4. Work around an issue in EdkCompatibilityPkg\Shell\ver\Ver.inf to split:
2008-01-25 04:28:25 +01:00
[sources.ia32|x64]
ia32\ver32.c
to be:
[sources.ia32]
ia32\ver32.c
[sources.x64]
ia32\ver32.c
2008-02-19 05:22:53 +01:00
since current build tools (r4631) do not support this syntax in EDK INF format.
2008-01-25 04:28:25 +01:00
2008-02-19 05:22:53 +01:00
5. Under workspace directory (i.e. c:\EdkII), execute:
2008-01-25 04:28:25 +01:00
build -a IA32 -a X64 -a IPF -p EdkShellBinPkg\GenBin\EdkShellPkg.dsc -t WINDDK3790x1830
The use of WINDDK instead of MYTOOLS is due to the fact that EDK shell source 1.04 is not
VS2005 clean.
6. Copy the binaries from Build directory to this package. Typically the EFI binary
2008-02-19 05:22:53 +01:00
of EdkCompatibility\Shell\$(INF_BASENAME).inf is generated at:
2008-01-25 04:28:25 +01:00
Build\EdkShellPkg\DEBUG_WINDDK3790x1830\$(ARCH)\EdkCompatibility\Shell\$(INF_BASENAME)\OUTPUT\$(BASENAME).efi
2008-02-19 05:22:53 +01:00
For example:
2008-01-25 04:28:25 +01:00
The x64 EFI image of EdkCompatibility\Shell\ver\ver.inf is generated at:
Build\EdkShellPkg\DEBUG_WINDDK3790x1830\X64\EdkCompatibilityPkg\Shell\ver\Ver\OUTPUT\ver.efi
2007-10-29 08:44:04 +01:00
Note: Other\Maintained\Application\Shell\Shell.inf corresponds to Minimum shell binaries.
Other\Maintained\Application\Shell\ShellFull.inf corresponds to Full Shell binaries.