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 F1F991A1E0A for ; Mon, 12 Sep 2016 09:05:04 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP; 12 Sep 2016 09:05:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,323,1470726000"; d="scan'208";a="7595334" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by orsmga005.jf.intel.com with ESMTP; 12 Sep 2016 09:05:00 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Tue, 13 Sep 2016 00:03:26 +0800 Message-Id: <1473696210-6264-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch 0/4] Add support for running python tools from source on Windows 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 16:05:05 -0000 When Python tool exe files don't exist, toolsetup.bat will configure PYTHONPATH to python source code, and set BaseTools\BinWrappers\WindowsLike into system PATH directory. Then, windows batch files will be used to run python tools from source files. Liming Gao (4): BaseTools: Add Windows batch files to run python tool from Source BaseTools: Update python tool to call external tools with shell true mode BaseTools: Update Python Makefile not to depend on PYTHON_FREEZER_PATH BaseTools: Update toolsetup.bat to set PYTHONPATH env to run python source BaseTools/BinWrappers/WindowsLike/BPDG.bat | 3 + BaseTools/BinWrappers/WindowsLike/Ecc.bat | 3 + BaseTools/BinWrappers/WindowsLike/GenDepex.bat | 3 + BaseTools/BinWrappers/WindowsLike/GenFds.bat | 3 + .../BinWrappers/WindowsLike/GenPatchPcdTable.bat | 3 + .../BinWrappers/WindowsLike/PatchPcdValue.bat | 3 + BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat | 3 + .../WindowsLike/Rsa2048Sha256GenerateKeys.bat | 1 + .../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 + BaseTools/Source/Python/Common/VpdInfoFile.py | 7 +- BaseTools/Source/Python/Makefile | 17 +++- BaseTools/Source/Python/build/build.py | 5 +- BaseTools/toolsetup.bat | 101 +++++++++------------ 17 files changed, 100 insertions(+), 67 deletions(-) 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 -- 2.8.0.windows.1