From 03edc4b23942b6ef2fdf5593b07f2357ee1fe486 Mon Sep 17 00:00:00 2001 From: htao Date: Thu, 27 Sep 2007 05:22:31 +0000 Subject: update Fpd2Dsc.exe interface to sync users guide and add tool usage in ReadMe.txt. where Fpd2Dsc.exe source is r767 in BaseTools project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3940 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/ReadMe.txt | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) (limited to 'BaseTools/ReadMe.txt') diff --git a/BaseTools/ReadMe.txt b/BaseTools/ReadMe.txt index 95cfc68bc3..044b366c3e 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: - r764 \BaseTools\Source\Python\Autogen - r764 \BaseTools\Source\Python\build - r764 \BaseTools\Source\Python\Common - r764 \BaseTools\Source\Python\CommonDataClass - r764 \BaseTools\Source\Python\GenFds + r750 \BaseTools\Source\Python\Autogen + r750 \BaseTools\Source\Python\build + r750 \BaseTools\Source\Python\Common + r750 \BaseTools\Source\Python\CommonDataClass + r750 \BaseTools\Source\Python\GenFds 4) GenFds.exe has is a combo of the follow python source.(This is a temporary branch) - r764 \BaseTools\Source\Python\Common - r764 \BaseTools\Source\Python\CommonDataClass - r764 \BaseTools\Source\Python\GenFds + r750 \BaseTools\Source\Python\Common + r750 \BaseTools\Source\Python\CommonDataClass + r750 \BaseTools\Source\Python\GenFds Brief usage for Migration Tool MigrationMsa2Inf.exe: 1. Command line format: @@ -121,4 +121,28 @@ 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 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 -- cgit v1.2.3