From c1260801fdfb89c91878984dfbc3c5a125696886 Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Wed, 22 Aug 2018 15:47:49 +0800 Subject: [PATCH] BaseTools: Update Makefile for ECC tool V2: Add --target-name to specify the file name to create Because Ecc.py was renamed to EccMain.py Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/Source/Python/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Makefile index d78b12d505..ac99259eb1 100644 --- a/BaseTools/Source/Python/Makefile +++ b/BaseTools/Source/Python/Makefile @@ -236,7 +236,7 @@ CMD_ECC=$(BASE_TOOLS_PATH)\Source\Python\Ecc\c.py \ $(BASE_TOOLS_PATH)\Source\Python\Ecc\Configuration.py \ $(BASE_TOOLS_PATH)\Source\Python\Ecc\CParser.py \ $(BASE_TOOLS_PATH)\Source\Python\Ecc\Database.py \ - $(BASE_TOOLS_PATH)\Source\Python\Ecc\Ecc.py \ + $(BASE_TOOLS_PATH)\Source\Python\Ecc\EccMain.py \ $(BASE_TOOLS_PATH)\Source\Python\Ecc\EccGlobalData.py \ $(BASE_TOOLS_PATH)\Source\Python\Ecc\EccToolError.py \ $(BASE_TOOLS_PATH)\Source\Python\Ecc\Exception.py \ @@ -296,8 +296,8 @@ $(BIN_DIR)\TestSigningPrivateKey.pem: $(BASE_TOOLS_PATH)\Source\Python\Rsa2048Sh $(BIN_DIR)\Rsa2048Sha256GenerateKeys.exe: $(BASE_TOOLS_PATH)\Source\Python\Rsa2048Sha256Sign\Rsa2048Sha256GenerateKeys.py @$(FREEZE) --include-modules=$(MODULES) --install-dir=$(BIN_DIR) Rsa2048Sha256Sign\Rsa2048Sha256GenerateKeys.py -$(BIN_DIR)\Ecc.exe: $(BASE_TOOLS_PATH)\Source\Python\Ecc\Ecc.py $(CMD_ECC) $(BIN_DIR)\config.ini $(BIN_DIR)\exception.xml - @$(FREEZE) --include-modules=$(MODULES) --install-dir=$(BIN_DIR) Ecc\Ecc.py +$(BIN_DIR)\Ecc.exe: $(BASE_TOOLS_PATH)\Source\Python\Ecc\EccMain.py $(CMD_ECC) $(BIN_DIR)\config.ini $(BIN_DIR)\exception.xml + @$(FREEZE) --include-modules=$(MODULES) --install-dir=$(BIN_DIR) Ecc\EccMain.py --target-name=Ecc.exe $(BIN_DIR)\config.ini: $(BASE_TOOLS_PATH)\Source\Python\Ecc\config.ini @copy /Y /B $(BASE_TOOLS_PATH)\Source\Python\Ecc\config.ini $(BIN_DIR)\config.ini -- 2.39.2