From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B6A981A1E1D for ; Mon, 12 Sep 2016 16:59:50 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 12 Sep 2016 16:59:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,325,1470726000"; d="scan'208";a="1049349836" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by orsmga002.jf.intel.com with ESMTP; 12 Sep 2016 16:59:50 -0700 Received: from orsmsx161.amr.corp.intel.com (10.22.240.84) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 12 Sep 2016 16:59:49 -0700 Received: from orsmsx108.amr.corp.intel.com ([169.254.2.61]) by ORSMSX161.amr.corp.intel.com ([169.254.4.17]) with mapi id 14.03.0248.002; Mon, 12 Sep 2016 16:59:49 -0700 From: "Bjorge, Erik C" To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "Zhu, Yonghong" , "Kinney, Michael D" Thread-Topic: [Patch 1/4] BaseTools: Add Windows batch files to run python tool from Source Thread-Index: AQHSDQ9vi5ivPqOtzEOFmRrSNVufIqB2iGpw Date: Mon, 12 Sep 2016 23:59:48 +0000 Message-ID: <7FE3244EBB31F1449E4EC79CFE44E3F4796FEDE8@ORSMSX108.amr.corp.intel.com> References: <1473696210-6264-1-git-send-email-liming.gao@intel.com> <1473696210-6264-2-git-send-email-liming.gao@intel.com> In-Reply-To: <1473696210-6264-2-git-send-email-liming.gao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjRlZDlhMjktNWE3MS00Zjk5LTljNGMtNzczMTkyN2EwOWJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImhzSHl6aGZzR2pcL0phM3hma3F3WUlwMW1SaHBXdkJKdWpLZXU3VG80aEY4PSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.22.254.139] MIME-Version: 1.0 Subject: Re: [Patch 1/4] BaseTools: Add Windows batch files to run python tool from Source X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 23:59:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Erik Bjorge > -----Original Message----- > From: Gao, Liming > Sent: Monday, September 12, 2016 9:03 AM > To: edk2-devel@lists.01.org > Cc: Zhu, Yonghong ; Kinney, Michael D > ; Bjorge, Erik C > Subject: [Patch 1/4] BaseTools: Add Windows batch files to run python > tool from Source >=20 > Add 13 windows batch files for every python tool. >=20 > Cc: Yonghong Zhu > Cc: Michael Kinney > Cc: Erik Bjorge > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Liming Gao > --- > BaseTools/BinWrappers/WindowsLike/BPDG.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/Ecc.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/GenDepex.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/GenFds.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat | 1 + > BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/TargetTool.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/Trim.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/UPT.bat | 3 +++ > BaseTools/BinWrappers/WindowsLike/build.bat | 3 +++ > 13 files changed, 37 insertions(+) > create mode 100644 BaseTools/BinWrappers/WindowsLike/BPDG.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/Ecc.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/GenDepex.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/GenFds.bat > create mode 100644 > BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat > create mode 100644 > BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat > create mode 100644 > BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/TargetTool.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/Trim.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/UPT.bat > create mode 100644 BaseTools/BinWrappers/WindowsLike/build.bat >=20 > diff --git a/BaseTools/BinWrappers/WindowsLike/BPDG.bat > b/BaseTools/BinWrappers/WindowsLike/BPDG.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/BPDG.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/Ecc.bat > b/BaseTools/BinWrappers/WindowsLike/Ecc.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/Ecc.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/GenFds.bat > b/BaseTools/BinWrappers/WindowsLike/GenFds.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/GenFds.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat > b/BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat > b/BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat > b/BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git > a/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat > b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat > new file mode 100644 > index 0000000..df93365 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat > @@ -0,0 +1 @@ > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\Rsa2048Sha256Sign\Rsa2048Sha256GenerateK > eys.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat > b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/TargetTool.bat > b/BaseTools/BinWrappers/WindowsLike/TargetTool.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/TargetTool.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/Trim.bat > b/BaseTools/BinWrappers/WindowsLike/Trim.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/Trim.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/UPT.bat > b/BaseTools/BinWrappers/WindowsLike/UPT.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/UPT.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > diff --git a/BaseTools/BinWrappers/WindowsLike/build.bat > b/BaseTools/BinWrappers/WindowsLike/build.bat > new file mode 100644 > index 0000000..9fbb704 > --- /dev/null > +++ b/BaseTools/BinWrappers/WindowsLike/build.bat > @@ -0,0 +1,3 @@ > +@setlocal > +@set ToolName=3D%~n0% > +@%PYTHON_HOME%\python.exe > %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* > -- > 2.8.0.windows.1