]> git.proxmox.com Git - mirror_edk2.git/commit
.pytool/Plugin/EccCheck: Add PACKAGES_PATH support
authorMarvin Ha?user <mhaeuser@posteo.de>
Wed, 1 Feb 2023 14:47:50 +0000 (06:47 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 8 Feb 2023 20:21:30 +0000 (20:21 +0000)
commitb59e6fdae2545b45c36c8c5373f4b858fb83c8cd
tree63aebd685ab788f9787fc629ea592af67287c938
parent5db84c85c3544b92fa236c4d169440d523712ae0
.pytool/Plugin/EccCheck: Add PACKAGES_PATH support

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4326

EccBuild currently assumes all packages reside in WORKSPACE. However,
this is obviously not the case for many setups. Most notably, Ext4Pkg
is located in edk2-platforms/Features and thus cannot be in WORKSPACE
in any reasonable setup.

Use Edk2Path to locate the package in WORKSPACE and PACKAGES_PATH.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: Marvin H?user <mhaeuser@posteo.de>
Acked-by: Pedro Falcato <pedro.falcato@gmail.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
.pytool/Plugin/EccCheck/EccCheck.py