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