summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/linux-cros.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/kernel/linux-cros.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/linux-cros.nix38
1 files changed, 0 insertions, 38 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-cros.nix b/pkgs/os-specific/linux/kernel/linux-cros.nix
deleted file mode 100644
index edaa33ac0fb..00000000000
--- a/pkgs/os-specific/linux/kernel/linux-cros.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ stdenv, lib, buildPackages, fetchFromGitiles, upstreamInfo, perl, buildLinux
-, modDirVersionArg ? null
-, ... } @ args:
-
-let
-  versionData = upstreamInfo.components."src/third_party/kernel/v5.4";
-in
-
-with lib;
-with lib.kernel;
-
-buildLinux (args // rec {
-  inherit (versionData) version;
-
-  # modDirVersion needs to be x.y.z, will automatically add .0 if needed
-  modDirVersion =
-    if modDirVersionArg == null
-    then concatStringsSep "." (take 3 (splitVersion "${version}.0"))
-    else modDirVersionArg;
-
-  # branchVersion needs to be x.y
-  extraMeta.branch = versions.majorMinor version;
-
-  src = fetchFromGitiles { inherit (versionData) name url rev sha256; };
-
-  updateScript = ../chromium-os/update.py;
-
-  structuredExtraConfig = {
-    # Enabling this (the default) caused a build failure.  If you can
-    # archieve a successful build with this enabled, go ahead and
-    # enable it.
-    VIDEO_INTEL_IPU6 = no;
-
-    # RTW88_8822*E were being selected as Y when N/m/? are the only valid options
-    RTW88_8822BE = lib.mkForce module;
-    RTW88_8822CE = lib.mkForce module;
-  } // (args.structuredExtraConfig or {});
-} // (args.argsOverride or {}))