summaryrefslogtreecommitdiffstats
path: root/EdkShellPkg/ReadMe.txt
blob: b6ce6f5aab3cb7d4946175ff9df45eeaa8343c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This is EDK style package and the following steps can help to build the package:
1. Download the newly EDK Shell project Efi-Shell-Dev-Snapshot-20090527.zip from the following URL and unzip it to
   a local directory in workspace, for example, $(WORKSPACE)\Shell: 
   https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=46&expandFolder=46&folderID=53
   
   Alternatively, the EDK Shell source directory can be retrieved from the following SVN address:
   https://svn.code.sf.net/p/efi-shell/code/trunk/Shell
   SVN Revision r33 corresponds to Efi-Shell-Dev-Snapshot-20090527.zip development snapshot.
   
2. Update EDK_SHELL_DIR macro in the [Defines] section in EdkShellPkg.dsc to point to
   the directory containing the EDK Shell source directory, e.g. $(WORKSPACE)\Shell.

3. The EDK II style DSC file is used to validate build EDK Shell source & EDK compatibility package and can
   generate the binaries in EdkShellBinPkg.
   To use this file, execute the following command under workspace to build EDK Shell source:
   build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc
   
4. If you need to compile for GCC or ARM you will need to apply ShellR64.patch.
   cd $(WORKSPACE)/Shell and execute patch -p0 < $(WORKSPACE)/EdkShellPkg/ShellR64.patch.
   If you are using a case sensative file system there are a few case bugs that patch 
   would not fix. Just fix the case of the file to match its usage and you should be 
   able to compile.
   
5. If you need to use the binaries that are built from this package, be sure to update platform FDF file
    to replace the binaries from EdkShellBinPkg.