]> git.proxmox.com Git - mirror_edk2.git/commit
.pytool/EccCheck: Locate BaseTools dir with EDK_TOOLS_PATH
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 6 Jul 2021 20:55:38 +0000 (04:55 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 12 Jul 2021 14:53:55 +0000 (14:53 +0000)
commit22fe311bd20f660186a032ffa8a655a840ab85dd
treee0c2a8d82b5d43017425433624d0fddf6e1523b1
parent40a9066439cbab235933525810f46f03806c6ef1
.pytool/EccCheck: Locate BaseTools dir with EDK_TOOLS_PATH

The BaseTools directory is currently being located as a
sub-directory of the WORKSPACE env var. This might not be
true in other environments. Cf EDKII Build Specification,
s4.1.3 "Build Process Restrictions":
  There is no restriction on the location of the EDK_TOOLS_PATH,
  it may be located within a directory identified as the
  WORKSPACE directory, or in any other location that is
  accessible on the development workstation.

Locate the BaseTools directory using EDK_TOOLS_PATH instead.

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