1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 04:51:31 +03:00
mobile-nixos/devices/razer-cheryl2/kernel/default.nix
Samuel Dionne-Riel 6b7573ffe9 razer-cheryl2: Add kernel build
This does not include the steps to configure. It's been simmering
through a bunch of work in a WIP branch.
2020-10-10 18:54:54 -04:00

26 lines
572 B
Nix

{
mobile-nixos
, fetchFromGitHub
}:
mobile-nixos.kernel-builder-gcc49 {
version = "4.9.112";
configfile = ./config.aarch64;
src = fetchFromGitHub {
owner = "mobile-nixos";
repo = "linux";
rev = "fd5380e2c5e216f677d2c1d999154d014e5b9e00";
sha256 = "1idqpynhifll9hq4m5kv38z19kkk4222zw6sa3a5lxvrai4484lb";
};
patches = [
./0001-mobile-nixos-Workaround-selected-processor-does-not-.patch
./0003-arch-arm64-Add-config-option-to-fix-bootloader-cmdli.patch
];
enableRemovingWerror = true;
isImageGzDtb = true;
isModular = false;
}