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 <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Yonghong Zhu 2018-08-22 15:47:49 +08:00
parent aa4e0df1f0
commit c1260801fd
1 changed files with 3 additions and 3 deletions

View File

@ -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