third_party: rename build_files to $reponame.bzl

This enables IDEs to correctly identify the filetype

Change-Id: I9e2644514f001f94abe7da92c332f95889a34380
Reviewed-on: https://review.monogon.dev/c/monogon/+/3823
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
Tested-by: Jenkins CI
diff --git a/third_party/linux/external/BUILD.repo b/third_party/linux/linux.bzl
similarity index 99%
rename from third_party/linux/external/BUILD.repo
rename to third_party/linux/linux.bzl
index ed035ee..1b57c03 100644
--- a/third_party/linux/external/BUILD.repo
+++ b/third_party/linux/linux.bzl
@@ -1,11 +1,11 @@
+load("@rules_cc//cc:defs.bzl", "cc_binary")
+
 filegroup(
     name = "all",
     srcs = glob(["**"]),
     visibility = ["//visibility:public"],
 )
 
-load("@rules_cc//cc:defs.bzl", "cc_binary")
-
 # Build gen_init_cpio separately for the initramfs generation stage
 cc_binary(
     name = "gen_init_cpio",
diff --git a/third_party/linux/external/0001-block-partition-expose-PARTUUID-through-uevent.patch b/third_party/linux/patches/0001-block-partition-expose-PARTUUID-through-uevent.patch
similarity index 100%
rename from third_party/linux/external/0001-block-partition-expose-PARTUUID-through-uevent.patch
rename to third_party/linux/patches/0001-block-partition-expose-PARTUUID-through-uevent.patch
diff --git a/third_party/linux/external/BUILD.bazel b/third_party/linux/patches/BUILD.bazel
similarity index 100%
rename from third_party/linux/external/BUILD.bazel
rename to third_party/linux/patches/BUILD.bazel
diff --git a/third_party/linux/external/disable-static-ifs.patch b/third_party/linux/patches/disable-static-ifs.patch
similarity index 100%
rename from third_party/linux/external/disable-static-ifs.patch
rename to third_party/linux/patches/disable-static-ifs.patch
diff --git a/third_party/linux/external/enable-pmsg.patch b/third_party/linux/patches/enable-pmsg.patch
similarity index 100%
rename from third_party/linux/external/enable-pmsg.patch
rename to third_party/linux/patches/enable-pmsg.patch
diff --git a/third_party/linux/external/fb-devs-knob.patch b/third_party/linux/patches/fb-devs-knob.patch
similarity index 100%
rename from third_party/linux/external/fb-devs-knob.patch
rename to third_party/linux/patches/fb-devs-knob.patch
diff --git a/third_party/linux/external/lacp_fix.patch b/third_party/linux/patches/lacp_fix.patch
similarity index 100%
rename from third_party/linux/external/lacp_fix.patch
rename to third_party/linux/patches/lacp_fix.patch