]> git.proxmox.com Git - mirror_edk2.git/blame - EdkShellBinPkg/ReadMe.txt
Fix several typos for the instructions to build shell binaries with ECP & EDK II...
[mirror_edk2.git] / EdkShellBinPkg / ReadMe.txt
CommitLineData
970e4d2b 1The binaries of EdkShellBinPkg are generated with EDK-Shell 1.04 release and build with Edk Compatibility & BaseTools Package\r
2(r4631)\r
abe7b4c6 3\r
fa312759 4The following steps can help to re-generate these binaries for customization:\r
970e4d2b 51. Check out EdkCompatibilityPkg (r4631) to a directory EdkCompatibilityPkg in workspace (svn https://edk2.tianocore.org/svn/edk2/trunk/edk2/EdkCompatibilityPkg). \r
62. Update to the newest BaseTools package.\r
72. Download EfiShell 1.04.zip from EDK Shell official release https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=52&expandFolder=52&folderID=45\r
fa312759 83. Unzip it to be a sub-directory in EdkCompatibilityPkg , i.e. c:\EdkII\EdkCompatibilityPkg\Shell\r
94. Work around an issue in EdkCompatibilityPkg\Shell\ver\Ver.inf to split:\r
970e4d2b 10 [sources.ia32|x64]\r
11 ia32\ver32.c\r
12\r
13 to be:\r
14 [sources.ia32]\r
15 ia32\ver32.c\r
16\r
17 [sources.x64]\r
18 ia32\ver32.c\r
19\r
fa312759 20 since current build tools (r4631) do not support this syntax in EDK INF format.\r
970e4d2b 21\r
fa312759 225. Under workspace directory (i.e. c:\EdkII), execute:\r
970e4d2b 23 build -a IA32 -a X64 -a IPF -p EdkShellBinPkg\GenBin\EdkShellPkg.dsc -t WINDDK3790x1830\r
24 The use of WINDDK instead of MYTOOLS is due to the fact that EDK shell source 1.04 is not\r
25 VS2005 clean.\r
26\r
276. Copy the binaries from Build directory to this package. Typically the EFI binary\r
fa312759 28 of EdkCompatibility\Shell\$(INF_BASENAME).inf is generated at:\r
970e4d2b 29 Build\EdkShellPkg\DEBUG_WINDDK3790x1830\$(ARCH)\EdkCompatibility\Shell\$(INF_BASENAME)\OUTPUT\$(BASENAME).efi\r
fa312759 30 For example:\r
970e4d2b 31 The x64 EFI image of EdkCompatibility\Shell\ver\ver.inf is generated at:\r
32 Build\EdkShellPkg\DEBUG_WINDDK3790x1830\X64\EdkCompatibilityPkg\Shell\ver\Ver\OUTPUT\ver.efi\r
abe7b4c6 33\r
34Note: Other\Maintained\Application\Shell\Shell.inf corresponds to Minimum shell binaries.\r
35 Other\Maintained\Application\Shell\ShellFull.inf corresponds to Full Shell binaries.