diff options
| author | fortuneteller2k <lythe1107@gmail.com> | 2021-12-26 02:13:12 +0800 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-12-25 21:49:21 +0000 |
| commit | 3a1804a14901dd73a923d1615afad13e0f837c0b (patch) | |
| tree | 1a825e73f3b3ffa6c05bc59ee34b7da794868134 | |
| parent | scheherazade-new: 3.200 → 3.300 (diff) | |
| download | nixpkgs-3a1804a14901dd73a923d1615afad13e0f837c0b.tar.gz | |
linux_xanmod: remove duplicate android kernel options
and enable WINESYNC in kernel config
(cherry picked from commit de06c5e8e8191c7ba837da6ce45fc81080640778)
| -rw-r--r-- | pkgs/os-specific/linux/kernel/linux-xanmod.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-xanmod.nix b/pkgs/os-specific/linux/kernel/linux-xanmod.nix index 8b95e912b029..285abe19ff6b 100644 --- a/pkgs/os-specific/linux/kernel/linux-xanmod.nix +++ b/pkgs/os-specific/linux/kernel/linux-xanmod.nix @@ -51,16 +51,12 @@ buildLinux (args // rec { # Graysky's additional CPU optimizations CC_OPTIMIZE_FOR_PERFORMANCE_O3 = yes; - # Android Ashmem and Binder IPC Driver as module for Anbox - ASHMEM = module; - ANDROID = yes; - ANDROID_BINDER_IPC = module; - ANDROID_BINDERFS = module; - ANDROID_BINDER_DEVICES = freeform "binder,hwbinder,vndbinder"; - # Futex WAIT_MULTIPLE implementation for Wine / Proton Fsync. FUTEX = yes; FUTEX_PI = yes; + + # WineSync driver for fast kernel-backed Wine + WINESYNC = module; }; extraMeta = { |
