Olivier Martin 2bba8d5af4 EdkShellPkg: Add Aarch64 support
* Update the EFI Shell patch to use SVN rev 64 (was rev 61)
* Modify build system to enable compilation targeting Aarch64 platform.
* Modify patch to apply on EdkShell sources to add support for Aarch64.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14699 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-23 09:20:03 +00:00

26 lines
1.6 KiB
Plaintext

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.