summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorGao, Liming <liming.gao@intel.com>2014-09-17 08:47:01 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-17 08:47:01 +0000
commitec53da7bfa351186f02496971a39215e1158fb96 (patch)
treeae4fa2179596a6442be11ed79d69e8ec09c1cbae /BaseTools/Source
parent75eb337f6040933b0fedf04459f5fbd5b2f8f7c9 (diff)
downloadedk2-platforms-ec53da7bfa351186f02496971a39215e1158fb96.tar.xz
BaseTools: Update the BaseTools/Source/Python/Makefile to check for dependent files
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
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/Python/Makefile46
1 files changed, 38 insertions, 8 deletions
diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Makefile
index 6436e5b7ff..fb88cebbf7 100644
--- a/BaseTools/Source/Python/Makefile
+++ b/BaseTools/Source/Python/Makefile
@@ -38,11 +38,15 @@ COMMON_PYTHON=$(BASE_TOOLS_PATH)\Source\Python\Common\BuildToolError.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\EdkIIWorkspace.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\EdkIIWorkspaceBuild.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\EdkLogger.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Common\Expression.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\FdfClassObject.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\FdfParserLite.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\GlobalData.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\Identification.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\InfClassObject.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathOs.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathOsPath.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathSupport.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\MigrationUtilities.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\Misc.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\Parsing.py \
@@ -51,20 +55,46 @@ COMMON_PYTHON=$(BASE_TOOLS_PATH)\Source\Python\Common\BuildToolError.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\ToolDefClassObject.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\VpdInfoFile.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\BuildVersion.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\CommonClass.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\DataClass.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\Exceptions.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\FdfClass.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\ModuleClass.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\PackageClass.py \
+ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\PlatformClass.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\Table.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableDataModel.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableDec.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableDsc.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableEotReport.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableFdf.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableFile.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableFunction.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableIdentifier.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableInf.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TablePcd.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableQuery.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Table\TableReport.py \
$(BASE_TOOLS_PATH)\Source\Python\Workspace\BuildClassObject.py \
$(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaDataTable.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaFileCommentParser.py \
$(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaFileParser.py \
$(BASE_TOOLS_PATH)\Source\Python\Workspace\MetaFileTable.py \
+ $(BASE_TOOLS_PATH)\Source\Python\Workspace\WorkspaceCommon.py \
$(BASE_TOOLS_PATH)\Source\Python\Workspace\WorkspaceDatabase.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\AutoGen.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\BuildEngine.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\GenC.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\GenDepex.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\GenMake.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\StrGather.py \
- $(BASE_TOOLS_PATH)\Source\Python\Autogen\UniClassObject.py
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\AutoGen.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\BuildEngine.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenC.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenDepex.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenMake.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\GenPcdDb.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\InfSectionParser.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\StrGather.py \
+ $(BASE_TOOLS_PATH)\Source\Python\AutoGen\UniClassObject.py
CMD_BUILD=$(BASE_TOOLS_PATH)\Source\Python\build\BuildReport.py \
+ $(BASE_TOOLS_PATH)\Source\Python\GenPatchPcdTable\GenPatchPcdTable.py \
+ $(BASE_TOOLS_PATH)\Source\Python\PatchPcdValue\PatchPcdValue.py \
$(BASE_TOOLS_PATH)\Source\Python\Eot\c.py \
$(BASE_TOOLS_PATH)\Source\Python\Eot\CLexer.py \
$(BASE_TOOLS_PATH)\Source\Python\Eot\CodeFragment.py \
@@ -204,7 +234,7 @@ all: SetPythonPath $(APPLICATIONS)
SetPythonPath:
set PYTHONPATH=$(BASE_TOOLS_PATH)\Source\Python
-$(BIN_DIR)\build.exe: $(BASE_TOOLS_PATH)\Source\Python\build\build.py $(COMMON_PYTHON) $(CMD_BUILD)
+$(BIN_DIR)\build.exe: $(BASE_TOOLS_PATH)\Source\Python\build\build.py $(COMMON_PYTHON) $(CMD_BUILD) $(CMD_GENFDS)
@pushd . & @cd build & @$(FREEZE) --include-modules=$(MODULES) --install-dir=$(BIN_DIR) build.py & @popd
$(BIN_DIR)\GenFds.exe: $(BASE_TOOLS_PATH)\Source\Python\GenFds\GenFds.py $(COMMON_PYTHON) $(CMD_GENFDS)