summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-30 09:11:54 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-30 09:11:54 +0000
commitb3af5df67b0cf0cfd6e11a8fa4b2424e2c7f7c83 (patch)
treeb49f455da8fe19eebd6a04ad0e06d5dbd8e4e919 /BaseTools
parent14e8823a34c01cf6d75b37c959fb2cae91caf771 (diff)
downloadedk2-platforms-b3af5df67b0cf0cfd6e11a8fa4b2424e2c7f7c83.tar.xz
Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update. Check in new build.exe and GenFds.exe Check in PcdSyntaxUpdate.exe tool. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rwxr-xr-xBaseTools/Bin/Win32/GenFds.exebin1241602 -> 1250452 bytes
-rw-r--r--BaseTools/Bin/Win32/PcdSyntaxUpdate.exebin0 -> 558789 bytes
-rwxr-xr-xBaseTools/Bin/Win32/build.exebin1441998 -> 1443099 bytes
-rw-r--r--BaseTools/ReadMe.txt39
4 files changed, 33 insertions, 6 deletions
diff --git a/BaseTools/Bin/Win32/GenFds.exe b/BaseTools/Bin/Win32/GenFds.exe
index 58013c91de..f3fbf5390c 100755
--- a/BaseTools/Bin/Win32/GenFds.exe
+++ b/BaseTools/Bin/Win32/GenFds.exe
Binary files differ
diff --git a/BaseTools/Bin/Win32/PcdSyntaxUpdate.exe b/BaseTools/Bin/Win32/PcdSyntaxUpdate.exe
new file mode 100644
index 0000000000..30a7bc1e7a
--- /dev/null
+++ b/BaseTools/Bin/Win32/PcdSyntaxUpdate.exe
Binary files differ
diff --git a/BaseTools/Bin/Win32/build.exe b/BaseTools/Bin/Win32/build.exe
index e79f4bd7b1..3296c6b61f 100755
--- a/BaseTools/Bin/Win32/build.exe
+++ b/BaseTools/Bin/Win32/build.exe
Binary files differ
diff --git a/BaseTools/ReadMe.txt b/BaseTools/ReadMe.txt
index 8039b90888..32d4fd14f3 100644
--- a/BaseTools/ReadMe.txt
+++ b/BaseTools/ReadMe.txt
@@ -28,12 +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:
- r620 <buildtools_project>\BaseTools\Source\Python\Autogen
- r601 <buildtools_project>\BaseTools\Source\Python\build
- r569 <buildtools_project>\BaseTools\Source\Python\Common
- r564 <buildtools_project>\BaseTools\Source\Python\CommonDataClass
+ r641 <buildtools_project>\BaseTools\Source\Python\Autogen
+ r641 <buildtools_project>\BaseTools\Source\Python\build
+ r641 <buildtools_project>\BaseTools\Source\Python\Common
+ r641 <buildtools_project>\BaseTools\Source\Python\CommonDataClass
r564 <buildtools_project>\BaseTools\Source\Python\GenFds
-
+4) GenFds.exe has is a combo of the follow python source.(This is a temporary branch)
+ r641 <buildtools_project>\BaseTools\Source\Python\Common
+ r641 <buildtools_project>\BaseTools\Source\Python\CommonDataClass
+ r564 <buildtools_project>\BaseTools\Source\Python\GenFds
+
Brief usage for Migration Tool MigrationMsa2Inf.exe:
1. Command line format:
MigrationMsa2Inf [options]
@@ -93,4 +97,27 @@ Brief usage for Migration Tool MigrationMsa2Inf.exe:
7. Pyton Source
r633 <buildtools_project>\BaseTools\Source\Python\MigrationMsa2Inf
-29-August-2007
+
+Brief Usage for PcdSyntax Update:
+Usage:
+ PcdSyntaxUpdate.exe <directory_name>
+It searches all INF, DEC and DSC file under <directory_name> and update them with the following rules:
+1. Update INF files to conform to INF spec 0.44:
+ a. Rename PCD section name: e.g. [PcdsFeatureFlag] -> [FeaturePcd]
+ b. Adjust PCD section item format: e.g. PcdDebugClearMemoryValue|gEfiMdePkgTokenSpaceGuid -> gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue
+ c. Update the syntax of binary INF file (not PCD related)
+2. Update DEC files to confirm to DEC spec 0.36
+ Adjust PCD section item format: e.g. PcdWinNtPhysicalDisk|0x00001000|gEfiNt32PkgTokenSpaceGuid|VOID*|L"E:RW;245760;512"-> gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize|0x0|UINT32|0x00001011
+3. Update DSC files to confirm to DSC spec
+ a. Adjust string/array typed PCD item format: e.g. PcdWinNtMemorySizeForSecMain|gEfiNt32PkgTokenSpaceGuid|L"64!64"|12 -> gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySizeForSecMain|L"64!64"|VOID*|12
+ b. Adjust non-string/array typed PCD item format: e.g. PcdWinNtBootMode|gEfiNt32PkgTokenSpaceGuid|1 -> gEfiNt32PkgTokenSpaceGuid.PcdWinNtBootMode|1
+ c. Update the override library class in [Components] section: e.g.
+ <LibraryClass> {
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
+ }
+ To
+ <LibraryClasses> {
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
+ }
+
+30-August-2007