diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-08-22 15:47:49 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-08-23 14:54:15 +0800 |
commit | c1260801fdfb89c91878984dfbc3c5a125696886 (patch) | |
tree | fac4c1b2077b5a5c51514cd3b53d464326e25ebe /BaseTools/Source/Python | |
parent | aa4e0df1f0c7ffdff07d7e382c9da89cbe207cdb (diff) | |
download | edk2-c1260801fdfb89c91878984dfbc3c5a125696886.tar.gz edk2-c1260801fdfb89c91878984dfbc3c5a125696886.tar.bz2 edk2-c1260801fdfb89c91878984dfbc3c5a125696886.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r-- | BaseTools/Source/Python/Makefile | 6 |
1 files 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
|