third_party/edk2: use toolchain-bundle for edk2 build
This moves the build into a custom rule instead of a genrule.
This also adds the AARCH64 build and renames the files to be more
generic
Change-Id: If6e3cecaf4011e2e39f13b1d40bcc7060cee3afb
Reviewed-on: https://review.monogon.dev/c/monogon/+/4154
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
Tested-by: Jenkins CI
diff --git a/build/bazel/third_party.MODULE.bazel b/build/bazel/third_party.MODULE.bazel
index 76d7c69..2c22364 100644
--- a/build/bazel/third_party.MODULE.bazel
+++ b/build/bazel/third_party.MODULE.bazel
@@ -11,6 +11,8 @@
patches = [
"//third_party/edk2/patches:disable-werror.patch",
"//third_party/edk2/patches:remove-brotli-build.patch",
+ "//third_party/edk2/patches:fix-uuid-flag.patch",
+ "//third_party/edk2/patches:fix-build.patch",
],
ref = "fbe0805b2091393406952e84724188f8c1941837", # stable202502
repo = "edk2",