2009-01-14 06:06:42 +01:00
|
|
|
This is EDK style package and the following steps can help to build the package:
|
2009-06-01 10:16:33 +02:00
|
|
|
1. Download the newly EDK Shell project Efi-Shell-Dev-Snapshot-20090527.zip from the following URL and unzip it to
|
2009-01-14 06:06:42 +01:00
|
|
|
a local directory in workspace, for example, $(WORKSPACE)\Shell:
|
2009-06-01 10:16:33 +02:00
|
|
|
https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=46&expandFolder=46&folderID=53
|
2009-01-14 06:06:42 +01:00
|
|
|
|
|
|
|
Alternatively, the EDK Shell source directory can be retrieved from the following SVN address:
|
2013-06-08 07:26:39 +02:00
|
|
|
https://svn.code.sf.net/p/efi-shell/code/trunk/Shell
|
2009-06-01 10:16:33 +02:00
|
|
|
SVN Revision r33 corresponds to Efi-Shell-Dev-Snapshot-20090527.zip development snapshot.
|
2009-01-14 06:06:42 +01:00
|
|
|
|
|
|
|
2. Update EDK_SHELL_DIR macro in the [Defines] section in EdkShellPkg.dsc to point to
|
2009-06-01 10:16:33 +02:00
|
|
|
the directory containing the EDK Shell source directory, e.g. $(WORKSPACE)\Shell.
|
2009-01-14 06:06:42 +01:00
|
|
|
|
2010-06-01 02:56:57 +02:00
|
|
|
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.
|
2008-08-18 13:09:49 +02:00
|
|
|
To use this file, execute the following command under workspace to build EDK Shell source:
|
2009-11-10 21:00:37 +01:00
|
|
|
build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc
|
|
|
|
|
2013-09-23 11:20:03 +02:00
|
|
|
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.
|
2009-11-10 21:00:37 +01:00
|
|
|
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.
|
2010-06-01 02:56:57 +02:00
|
|
|
|
|
|
|
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.
|