xanmod-kernels: remove explicit WERROR=n
This commit is contained in:
parent
9d0769d4e7
commit
e5d17fcc91
1 changed files with 31 additions and 37 deletions
|
@ -24,51 +24,45 @@ let
|
||||||
inherit hash;
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
structuredExtraConfig =
|
structuredExtraConfig = with lib.kernel; {
|
||||||
with lib.kernel;
|
# removed options
|
||||||
with (lib.kernel.whenHelpers version);
|
CFS_BANDWIDTH = lib.mkForce (option no);
|
||||||
{
|
RT_GROUP_SCHED = lib.mkForce (option no);
|
||||||
# TODO: remove this once https://github.com/NixOS/nixpkgs/pull/175433 is in master
|
SCHED_AUTOGROUP = lib.mkForce (option no);
|
||||||
WERROR = no;
|
|
||||||
|
|
||||||
# removed options
|
# AMD P-state driver
|
||||||
CFS_BANDWIDTH = lib.mkForce (option no);
|
X86_AMD_PSTATE = yes;
|
||||||
RT_GROUP_SCHED = lib.mkForce (option no);
|
|
||||||
SCHED_AUTOGROUP = lib.mkForce (option no);
|
|
||||||
|
|
||||||
# AMD P-state driver
|
# Paragon's NTFS3 driver
|
||||||
X86_AMD_PSTATE = yes;
|
NTFS3_FS = module;
|
||||||
|
NTFS3_LZX_XPRESS = yes;
|
||||||
|
NTFS3_FS_POSIX_ACL = yes;
|
||||||
|
|
||||||
# Paragon's NTFS3 driver
|
# Preemptive Full Tickless Kernel at 500Hz
|
||||||
NTFS3_FS = module;
|
SCHED_CORE = lib.mkForce (option no);
|
||||||
NTFS3_LZX_XPRESS = yes;
|
PREEMPT_VOLUNTARY = lib.mkForce no;
|
||||||
NTFS3_FS_POSIX_ACL = yes;
|
PREEMPT = lib.mkForce yes;
|
||||||
|
NO_HZ_FULL = yes;
|
||||||
|
HZ_500 = yes;
|
||||||
|
|
||||||
# Preemptive Full Tickless Kernel at 500Hz
|
# Google's BBRv2 TCP congestion Control
|
||||||
SCHED_CORE = lib.mkForce (option no);
|
TCP_CONG_BBR2 = yes;
|
||||||
PREEMPT_VOLUNTARY = lib.mkForce no;
|
DEFAULT_BBR2 = yes;
|
||||||
PREEMPT = lib.mkForce yes;
|
|
||||||
NO_HZ_FULL = yes;
|
|
||||||
HZ_500 = yes;
|
|
||||||
|
|
||||||
# Google's BBRv2 TCP congestion Control
|
# FQ-PIE Packet Scheduling
|
||||||
TCP_CONG_BBR2 = yes;
|
NET_SCH_DEFAULT = yes;
|
||||||
DEFAULT_BBR2 = yes;
|
DEFAULT_FQ_PIE = yes;
|
||||||
|
|
||||||
# FQ-PIE Packet Scheduling
|
# Graysky's additional CPU optimizations
|
||||||
NET_SCH_DEFAULT = yes;
|
CC_OPTIMIZE_FOR_PERFORMANCE_O3 = yes;
|
||||||
DEFAULT_FQ_PIE = yes;
|
|
||||||
|
|
||||||
# Graysky's additional CPU optimizations
|
# Futex WAIT_MULTIPLE implementation for Wine / Proton Fsync.
|
||||||
CC_OPTIMIZE_FOR_PERFORMANCE_O3 = yes;
|
FUTEX = yes;
|
||||||
|
FUTEX_PI = yes;
|
||||||
|
|
||||||
# Futex WAIT_MULTIPLE implementation for Wine / Proton Fsync.
|
# WineSync driver for fast kernel-backed Wine
|
||||||
FUTEX = yes;
|
WINESYNC = module;
|
||||||
FUTEX_PI = yes;
|
};
|
||||||
|
|
||||||
# WineSync driver for fast kernel-backed Wine
|
|
||||||
WINESYNC = module;
|
|
||||||
};
|
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
branch = lib.versions.majorMinor version;
|
branch = lib.versions.majorMinor version;
|
||||||
|
|
Loading…
Reference in a new issue