BaseTools: Plugin: Integration of edk2-pytools
Performs Integration instructions necessary to upgrade edk2-pytool-library to 0.19.3 and edk2-pytool-extensions to 0.25.1. This includes resolving the deprecation of builder.mws and replacing it with builder.edk2path functionality. 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> Signed-off-by: Joey Vagedes <joeyvagedes@gmail.com> Message-Id: <20231027151551.1043941-3-joeyvagedes@microsoft.com> Reviewed-by: Rebecca Cran <rebecca@os.amperecomputing.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
7f5c24ad35
commit
7806713f00
|
@ -58,12 +58,12 @@ class DebugMacroCheckBuildPlugin(IUefiBuildPlugin):
|
||||||
if "no-target" in build_target:
|
if "no-target" in build_target:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
pp = builder.pp.split(os.pathsep)
|
edk2 = builder.edk2path
|
||||||
edk2 = Edk2Path(builder.ws, pp)
|
|
||||||
package = edk2.GetContainingPackage(
|
package = edk2.GetContainingPackage(
|
||||||
builder.mws.join(builder.ws,
|
builder.edk2path.GetAbsolutePathOnThisSystemFromEdk2RelativePath(
|
||||||
builder.env.GetValue(
|
builder.env.GetValue("ACTIVE_PLATFORM")
|
||||||
"ACTIVE_PLATFORM")))
|
)
|
||||||
|
)
|
||||||
package_path = Path(
|
package_path = Path(
|
||||||
edk2.GetAbsolutePathOnThisSystemFromEdk2RelativePath(
|
edk2.GetAbsolutePathOnThisSystemFromEdk2RelativePath(
|
||||||
package))
|
package))
|
||||||
|
|
Loading…
Reference in New Issue