]> git.proxmox.com Git - mirror_edk2.git/commit
.pytool/EccCheck: Set PACKAGES_PATH env var in Ecc
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 6 Jul 2021 20:55:41 +0000 (04:55 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 12 Jul 2021 14:53:55 +0000 (14:53 +0000)
commitfb5b6220a9718fc28ae67f317d3611214a05589c
treef7a4e18af2122a7861e6c2cf2f0b37ab9b7c19e9
parent50672d269266e84e37bee925ad61da166bd22944
.pytool/EccCheck: Set PACKAGES_PATH env var in Ecc

When running Ecc on other repositories (e.g.: edk2-platforms with
edk2 as a submodule), edk2 modules are referenced.
E.g.: MdePkg/..
The PACKAGES_PATH env var can be used to reference other directories
containing packages. Set it so that Ecc can find these packages.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
.pytool/Plugin/EccCheck/EccCheck.py