mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #130613 from zhaofengli/cros-modules
This commit is contained in:
commit
771404c2e9
@ -881,6 +881,22 @@ let
|
||||
# Keeping it a built-in ensures it will be used if possible.
|
||||
FB_SIMPLE = yes;
|
||||
|
||||
} // optionalAttrs (versionAtLeast version "5.4" && (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux")) {
|
||||
# Required for various hardware features on Chrome OS devices
|
||||
CHROME_PLATFORMS = yes;
|
||||
CHROMEOS_TBMC = module;
|
||||
|
||||
CROS_EC = module;
|
||||
|
||||
CROS_EC_I2C = module;
|
||||
CROS_EC_SPI = module;
|
||||
CROS_EC_LPC = module;
|
||||
CROS_EC_ISHTP = module;
|
||||
|
||||
CROS_KBD_LED_BACKLIGHT = module;
|
||||
} // optionalAttrs (versionAtLeast version "5.4" && stdenv.hostPlatform.system == "x86_64-linux") {
|
||||
CHROMEOS_LAPTOP = module;
|
||||
CHROMEOS_PSTORE = module;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user