2019-11-19 06:54:51 +03:00
|
|
|
{
|
|
|
|
mobile-nixos
|
|
|
|
, fetchFromGitHub
|
|
|
|
, kernelPatches ? [] # FIXME
|
|
|
|
}:
|
|
|
|
|
2020-10-01 09:16:43 +03:00
|
|
|
mobile-nixos.kernel-builder-gcc6 {
|
2019-11-19 06:54:51 +03:00
|
|
|
configfile = ./config.aarch64;
|
|
|
|
|
|
|
|
version = "3.18.140";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "android-linux-stable";
|
|
|
|
repo = "marlin";
|
|
|
|
rev = "b69581b25fa7273424ef78aa82c3fd1dc05db0a9";
|
|
|
|
sha256 = "02jj6zxkxx6cynq0rdq4249ns8wwwkybpdkp6gsi7v0y8czfdaj7";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
2019-11-24 05:03:28 +03:00
|
|
|
./0001-Revert-four-tty-related-commits.patch
|
2019-11-19 06:54:51 +03:00
|
|
|
./0003-arch-arm64-Add-config-option-to-fix-bootloader-cmdli.patch
|
|
|
|
./99_framebuffer.patch
|
|
|
|
];
|
|
|
|
|
2020-10-01 09:16:43 +03:00
|
|
|
enableRemovingWerror = true;
|
|
|
|
isImageGzDtb = true;
|
2019-11-19 06:54:51 +03:00
|
|
|
isModular = false;
|
2020-10-01 09:16:43 +03:00
|
|
|
}
|