third_party/linux: use toolchain-bundle for linux kernel build
This contains lots of workarounds and should be migrated to a native
bazel integration.
Change-Id: Ib0a52daf3879df4d5369541475c42fa506a54328
Reviewed-on: https://review.monogon.dev/c/monogon/+/4101
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/third_party/BUILD.bazel b/third_party/BUILD.bazel
index 6a10cab..fd51ea4 100644
--- a/third_party/BUILD.bazel
+++ b/third_party/BUILD.bazel
@@ -20,6 +20,21 @@
)
cc_static_library_with_headers(
+ name = "libelf_elf",
+ dep = "@libelf//:elf",
+)
+
+cc_static_library_with_headers(
+ name = "zstd_zstd",
+ dep = "@zstd",
+)
+
+cc_static_library_with_headers(
+ name = "zlib_z",
+ dep = "@zlib//:z",
+)
+
+cc_static_library_with_headers(
name = "openssl_ssl",
dep = "@openssl//:ssl",
)