nixpkgs/pkgs/os-specific/linux/kernel/linux-hardkernel-4.14.nix
adisbladis 503235ed3a
Merge pull request #45689 from qolii/hardkernel_4_14_55__4_14_66
linux-hardkernel: 4.14.55-146 -> 4.14.66-147
2018-08-28 12:48:02 +08:00

34 lines
861 B
Nix

{ stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, libelf, utillinux, ... } @ args:
buildLinux (args // rec {
version = "4.14.66-147";
# modDirVersion needs to be x.y.z.
modDirVersion = "4.14.66";
# branchVersion needs to be x.y.
extraMeta.branch = "4.14";
src = fetchFromGitHub {
owner = "hardkernel";
repo = "linux";
rev = version;
sha256 = "06v38jl4i7l8gl8zcpyp9vmjjhaqhbp7by15f82rxa724zppxi9x";
};
defconfig = "odroidxu4_defconfig";
# This extraConfig is (only) required because the gator module fails to build as-is.
extraConfig = ''
GATOR n
# This attempted fix applies correctly but does not fix the build.
#GATOR_MALI_MIDGARD_PATH ${src}/drivers/gpu/arm/midgard
'' + (args.extraConfig or "");
extraMeta.platforms = [ "armv7l-linux" ];
} // (args.argsOverride or {}))