Merge pull request #145768 from mkg20001/anbox-waydroid-modules

This commit is contained in:
Maciej Krüger 2021-12-03 13:00:58 +01:00 committed by GitHub
commit 0c287b011e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -882,6 +882,12 @@ let
SCHED_CORE = whenAtLeast "5.14" yes;
ASHMEM = { optional = true; tristate = whenAtLeast "5.0" "y";};
ANDROID = { optional = true; tristate = whenAtLeast "5.0" "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";};
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
# Enable CPU/memory hotplug support
# Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot