From d645bba8c80a377271e0d0d53617738fa4a00aed Mon Sep 17 00:00:00 2001 From: Ionut Nechita Date: Wed, 29 Mar 2023 08:21:45 +0300 Subject: [PATCH] android: with new kernel versions this option is no longer necessary Description: - ANDROID = { optional = true; tristate = whenBetween "5.0" "5.19" "y";}; - starting from 5.20 and 6.0, this parameter no longer exists. Change-Id: I34d6638e01eb539de34afe2152ff5927a317b68a Signed-off-by: Ionut Nechita --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index faa98ee8fe32..bee04112ad60 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -966,7 +966,7 @@ let FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes); ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";}; - ANDROID = { optional = true; tristate = whenAtLeast "5.0" "y";}; + ANDROID = { optional = true; tristate = whenBetween "5.0" "5.19" "y";}; ANDROID_BINDER_IPC = { optional = true; tristate = whenAtLeast "5.0" "y";}; ANDROID_BINDERFS = { optional = true; tristate = whenAtLeast "5.0" "y";}; ANDROID_BINDER_DEVICES = { optional = true; freeform = whenAtLeast "5.0" "binder,hwbinder,vndbinder";};