BaseTools: Update the BaseTools/Source/Python/Makefile to check for dependent files
authorGao, Liming <liming.gao@intel.com>
Wed, 17 Sep 2014 08:47:01 +0000 (08:47 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 17 Sep 2014 08:47:01 +0000 (08:47 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gao, Liming <liming.gao@intel.com>
Reviewed-by: Hauch, Larry <larry.hauch@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16124 6f19259b-4bc3-4df7-8a09-765794883524

BaseTools/Source/Python/Makefile

index 6436e5b7ff64238d39a285a1efeb77ff9cc0af04..fb88cebbf7b51b557f953938193b4fea6104988d 100644 (file)
@@ -38,11 +38,15 @@ COMMON_PYTHON=$(BASE_TOOLS_PATH)\Source\Python\Common\BuildToolError.py \
               $(BASE_TOOLS_PATH)\Source\Python\Common\EdkIIWorkspace.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\EdkIIWorkspaceBuild.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\EdkLogger.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Common\Expression.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\FdfClassObject.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\FdfParserLite.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\GlobalData.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\Identification.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\InfClassObject.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathOs.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathOsPath.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathSupport.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\MigrationUtilities.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\Misc.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\Parsing.py \\r
@@ -51,20 +55,46 @@ COMMON_PYTHON=$(BASE_TOOLS_PATH)\Source\Python\Common\BuildToolError.py \
               $(BASE_TOOLS_PATH)\Source\Python\Common\ToolDefClassObject.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\VpdInfoFile.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Common\BuildVersion.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\CommonClass.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\DataClass.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\Exceptions.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\FdfClass.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\ModuleClass.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\PackageClass.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\PlatformClass.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\Table.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableDataModel.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableDec.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableDsc.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableEotReport.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableFdf.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableFile.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableFunction.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableIdentifier.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableInf.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TablePcd.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableQuery.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Table\TableReport.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Workspace\BuildClassObject.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaDataTable.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaFileCommentParser.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaFileParser.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaFileTable.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\Workspace\WorkspaceCommon.py \\r
               $(BASE_TOOLS_PATH)\Source\Python\Workspace\WorkspaceDatabase.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\AutoGen.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\BuildEngine.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\GenC.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\GenDepex.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\GenMake.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\StrGather.py \\r
-              $(BASE_TOOLS_PATH)\Source\Python\Autogen\UniClassObject.py\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\AutoGen.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\BuildEngine.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenC.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenDepex.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenMake.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenPcdDb.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\InfSectionParser.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\StrGather.py \\r
+              $(BASE_TOOLS_PATH)\Source\Python\AutoGen\UniClassObject.py\r
 \r
 CMD_BUILD=$(BASE_TOOLS_PATH)\Source\Python\build\BuildReport.py \\r
+    $(BASE_TOOLS_PATH)\Source\Python\GenPatchPcdTable\GenPatchPcdTable.py \\r
+    $(BASE_TOOLS_PATH)\Source\Python\PatchPcdValue\PatchPcdValue.py \\r
     $(BASE_TOOLS_PATH)\Source\Python\Eot\c.py \\r
     $(BASE_TOOLS_PATH)\Source\Python\Eot\CLexer.py \\r
     $(BASE_TOOLS_PATH)\Source\Python\Eot\CodeFragment.py \\r
@@ -204,7 +234,7 @@ all: SetPythonPath $(APPLICATIONS)
 SetPythonPath:\r
   set PYTHONPATH=$(BASE_TOOLS_PATH)\Source\Python\r
 \r
-$(BIN_DIR)\build.exe: $(BASE_TOOLS_PATH)\Source\Python\build\build.py $(COMMON_PYTHON) $(CMD_BUILD)\r
+$(BIN_DIR)\build.exe: $(BASE_TOOLS_PATH)\Source\Python\build\build.py $(COMMON_PYTHON) $(CMD_BUILD) $(CMD_GENFDS)\r
   @pushd . & @cd build & @$(FREEZE) --include-modules=$(MODULES) --install-dir=$(BIN_DIR) build.py & @popd\r
 \r
 $(BIN_DIR)\GenFds.exe: $(BASE_TOOLS_PATH)\Source\Python\GenFds\GenFds.py $(COMMON_PYTHON) $(CMD_GENFDS)\r