qhuang8 | 52dbc2f | 2009-01-14 05:06:42 +0000 | [diff] [blame] | 1 | This is EDK style package and the following steps can help to build the package: |
qhuang8 | 70ffafd | 2009-06-01 08:16:33 +0000 | [diff] [blame] | 2 | 1. Download the newly EDK Shell project Efi-Shell-Dev-Snapshot-20090527.zip from the following URL and unzip it to |
qhuang8 | 52dbc2f | 2009-01-14 05:06:42 +0000 | [diff] [blame] | 3 | a local directory in workspace, for example, $(WORKSPACE)\Shell: |
qhuang8 | 70ffafd | 2009-06-01 08:16:33 +0000 | [diff] [blame] | 4 | https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=46&expandFolder=46&folderID=53 |
qhuang8 | 52dbc2f | 2009-01-14 05:06:42 +0000 | [diff] [blame] | 5 | |
| 6 | Alternatively, the EDK Shell source directory can be retrieved from the following SVN address: |
Tian, Hot | fa1dad1 | 2013-06-08 05:26:39 +0000 | [diff] [blame] | 7 | https://svn.code.sf.net/p/efi-shell/code/trunk/Shell |
qhuang8 | 70ffafd | 2009-06-01 08:16:33 +0000 | [diff] [blame] | 8 | SVN Revision r33 corresponds to Efi-Shell-Dev-Snapshot-20090527.zip development snapshot. |
qhuang8 | 52dbc2f | 2009-01-14 05:06:42 +0000 | [diff] [blame] | 9 | |
| 10 | 2. Update EDK_SHELL_DIR macro in the [Defines] section in EdkShellPkg.dsc to point to |
qhuang8 | 70ffafd | 2009-06-01 08:16:33 +0000 | [diff] [blame] | 11 | the directory containing the EDK Shell source directory, e.g. $(WORKSPACE)\Shell. |
qhuang8 | 52dbc2f | 2009-01-14 05:06:42 +0000 | [diff] [blame] | 12 | |
qhuang8 | f1329e6 | 2010-06-01 00:56:57 +0000 | [diff] [blame] | 13 | 3. The EDK II style DSC file is used to validate build EDK Shell source & EDK compatibility package and can |
| 14 | generate the binaries in EdkShellBinPkg. |
qhuang8 | 946e632 | 2008-08-18 11:09:49 +0000 | [diff] [blame] | 15 | To use this file, execute the following command under workspace to build EDK Shell source: |
AJFISH | 3b533da | 2009-11-10 20:00:37 +0000 | [diff] [blame] | 16 | build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc |
| 17 | |
Olivier Martin | 2bba8d5 | 2013-09-23 09:20:03 +0000 | [diff] [blame] | 18 | 4. If you need to compile for GCC or ARM you will need to apply ShellR64.patch. |
| 19 | cd $(WORKSPACE)/Shell and execute patch -p0 < $(WORKSPACE)/EdkShellPkg/ShellR64.patch. |
AJFISH | 3b533da | 2009-11-10 20:00:37 +0000 | [diff] [blame] | 20 | If you are using a case sensative file system there are a few case bugs that patch |
| 21 | would not fix. Just fix the case of the file to match its usage and you should be |
| 22 | able to compile. |
qhuang8 | f1329e6 | 2010-06-01 00:56:57 +0000 | [diff] [blame] | 23 | |
| 24 | 5. If you need to use the binaries that are built from this package, be sure to update platform FDF file |
| 25 | to replace the binaries from EdkShellBinPkg. |