The binaries of EdkShellBinPkg are generated with EDK-Shell 1.04 release and build with Edk Compatibility & BaseTools Package\r
-(r4631)\r
+(r4927)\r
\r
The following steps can help to re-generate these binaries for customization:\r
-1. Check out EdkCompatibilityPkg (r4631) to a directory EdkCompatibilityPkg in workspace (svn https://edk2.tianocore.org/svn/edk2/trunk/edk2/EdkCompatibilityPkg). \r
-2. Update to the newest BaseTools package.\r
+1. Check out EdkCompatibilityPkg (r4927) to a directory EdkCompatibilityPkg in workspace (svn https://edk2.tianocore.org/svn/edk2/trunk/edk2/EdkCompatibilityPkg). \r
+2. Update to the newest BaseTools package. (r4927 or later)\r
2. Download EfiShell 1.04.zip from EDK Shell official release https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=52&expandFolder=52&folderID=45\r
3. Unzip it to be a sub-directory in EdkCompatibilityPkg , i.e. c:\EdkII\EdkCompatibilityPkg\Shell\r
-4. Work around an issue in EdkCompatibilityPkg\Shell\ver\Ver.inf to split:\r
- [sources.ia32|x64]\r
- ia32\ver32.c\r
-\r
- to be:\r
- [sources.ia32]\r
- ia32\ver32.c\r
-\r
- [sources.x64]\r
- ia32\ver32.c\r
-\r
- since current build tools (r4631) do not support this syntax in EDK INF format.\r
-\r
+4. Apply a hot fix Shell_HotFix.diff under EdkShellBinPkg\GenBin directory. This is mainly to fix the unaligned device path node access in shell binary and a rare INF format issue in ver.inf. This patch will be integrated into the later official release.\r
5. Under workspace directory (i.e. c:\EdkII), execute:\r
build -a IA32 -a X64 -a IPF -p EdkShellBinPkg\GenBin\EdkShellPkg.dsc -t WINDDK3790x1830\r
The use of WINDDK instead of MYTOOLS is due to the fact that EDK shell source 1.04 is not\r