blob: b6ce6f5aab3cb7d4946175ff9df45eeaa8343c70 [file] [log] [blame]
qhuang852dbc2f2009-01-14 05:06:42 +00001This is EDK style package and the following steps can help to build the package:
qhuang870ffafd2009-06-01 08:16:33 +000021. Download the newly EDK Shell project Efi-Shell-Dev-Snapshot-20090527.zip from the following URL and unzip it to
qhuang852dbc2f2009-01-14 05:06:42 +00003 a local directory in workspace, for example, $(WORKSPACE)\Shell:
qhuang870ffafd2009-06-01 08:16:33 +00004 https://efi-shell.tianocore.org/servlets/ProjectDocumentList?folderID=46&expandFolder=46&folderID=53
qhuang852dbc2f2009-01-14 05:06:42 +00005
6 Alternatively, the EDK Shell source directory can be retrieved from the following SVN address:
Tian, Hotfa1dad12013-06-08 05:26:39 +00007 https://svn.code.sf.net/p/efi-shell/code/trunk/Shell
qhuang870ffafd2009-06-01 08:16:33 +00008 SVN Revision r33 corresponds to Efi-Shell-Dev-Snapshot-20090527.zip development snapshot.
qhuang852dbc2f2009-01-14 05:06:42 +00009
102. Update EDK_SHELL_DIR macro in the [Defines] section in EdkShellPkg.dsc to point to
qhuang870ffafd2009-06-01 08:16:33 +000011 the directory containing the EDK Shell source directory, e.g. $(WORKSPACE)\Shell.
qhuang852dbc2f2009-01-14 05:06:42 +000012
qhuang8f1329e62010-06-01 00:56:57 +0000133. 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.
qhuang8946e6322008-08-18 11:09:49 +000015 To use this file, execute the following command under workspace to build EDK Shell source:
AJFISH3b533da2009-11-10 20:00:37 +000016 build -a IA32 -a X64 -a IPF -p EdkShellPkg\EdkShellPkg.dsc
17
Olivier Martin2bba8d52013-09-23 09:20:03 +0000184. 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.
AJFISH3b533da2009-11-10 20:00:37 +000020 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.
qhuang8f1329e62010-06-01 00:56:57 +000023
245. 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.