X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FReadMe.txt;h=724e702d6264abc22e42c46c9dc993f180e64901;hp=37d1387e6c05f290902ae67412a4fb6936a622db;hb=6a9eeabb657279fe9efe7ef27630b06919bbd556;hpb=ccde0b6680b67999bba53ede3570b6eb6fdeeb32 diff --git a/BaseTools/ReadMe.txt b/BaseTools/ReadMe.txt index 37d1387e6c..724e702d62 100644 --- a/BaseTools/ReadMe.txt +++ b/BaseTools/ReadMe.txt @@ -28,16 +28,16 @@ Notes: cannot generate AutoGen.* files. Only "build" command can. 3) build.exe in %WORKSPACE%\BaseTools\Bin\Win32 is generated from following revision of Python source code: - r658 \BaseTools\Source\Python\Autogen - r722 \BaseTools\Source\Python\build - r700 \BaseTools\Source\Python\Common - r695 \BaseTools\Source\Python\CommonDataClass - r710 \BaseTools\Source\Python\GenFds + r844 \BaseTools\Source\Python\Autogen + r844 \BaseTools\Source\Python\build + r844 \BaseTools\Source\Python\Common + r844 \BaseTools\Source\Python\CommonDataClass + r844 \BaseTools\Source\Python\GenFds 4) GenFds.exe has is a combo of the follow python source.(This is a temporary branch) - r700 \BaseTools\Source\Python\Common - r695 \BaseTools\Source\Python\CommonDataClass - r710 \BaseTools\Source\Python\GenFds + r843 \BaseTools\Source\Python\Common + r843 \BaseTools\Source\Python\CommonDataClass + r843 \BaseTools\Source\Python\GenFds Brief usage for Migration Tool MigrationMsa2Inf.exe: 1. Command line format: @@ -121,4 +121,44 @@ It searches all INF, DEC and DSC file under and update them wit PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf } -30-August-2007 +Brief usage for Migration Tool Spd2Dec.exe: +1. Command line format: + Spd2Dec [options] input_filename +2. Input File: + A syntactically valid SPD file +3. Output Files: + A DEC file whose syntax confirms to DEC spec. + +4. Example: + a. Spd2Dec -o c:\work\EdkII\Nt32Pkg\Nt32.spd c:\work\EdkII\Nt32Pkg\Nt32.dec + b. Spd2Dec -a c:\work\EdkII\Nt32Pkg\Nt32.spd + Example a & b are equivalent to migrate Nt32 package SPD file from EDKII to EDKII' snytax. + +6. Pyton Source + r777 \BaseTools\Source\Python\spd2Dec + +Brief usage for Migration Tool Fpd2Dsc.exe: +1. Command line format: + Fpd2Dsc [options] input_filename +2. Input File: + A syntactically valid FPD file +3. Output Files: + A DSC file which syntax confirms to DSC spec. +4. Prerequisite: + a. The workspace directory must be specified either by environment variable or -w option. + +5. Example: + WORKSAPCE has already been set: $(WORKSPACE) = c:\work\EdkII. + + a. Fpd2Dsc -o c:\work\EdkII\Nt32Pkg\Nt32.dsc c:\work\EdkII\Nt32Pkg\Nt32.fpd + b. Fpd2Dsc -a c:\work\EdkII\Nt32Pkg\Nt32.fpd + Example a & b are equivalent to migrate Nt32 platform description file from EDKII to EDKII' snytax. + +6. Known Limitations: + a. Tool does not handle Libraries Section since no related info in original FPD file. Developers need to handle it manually in the output DSC file. + b. If MSA file which is corresponds to module guid could not be found in currect workspace, tool will dump the module guid. + +7. Pyton Source + r767 \BaseTools\Source\Python\Fpd2Dsc + +27-September-2007