1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

remove defconfig patch

This commit is contained in:
zimward 2024-08-14 16:05:29 +02:00
parent daa8c09f85
commit 6fb5ac7a0f
No known key found for this signature in database
GPG key ID: 4CAC61D6A482FCD9
3 changed files with 2 additions and 2546 deletions

View file

@ -108,7 +108,7 @@ with (lib.kernel.whenHelpers version);
DRM_NOUVEAU = no; DRM_NOUVEAU = no;
DRM_AMDGPU = no; DRM_AMDGPU = no;
#pahole causes OOM(6GiB> including zram) on build, disableing it as a mitigation #pahole causes OOM(6GiB> including zram) during build, disabling it as a mitigation
CONFIG_BPF = lib.mkForce no; CONFIG_BPF = lib.mkForce no;
BPF_SYSCALL = lib.mkForce no; BPF_SYSCALL = lib.mkForce no;
BPF_JIT = lib.mkForce no; BPF_JIT = lib.mkForce no;

View file

@ -30,7 +30,6 @@ let
patch = path; patch = path;
} }
); );
# patches = [ ./pinephonepro_defconfig.patch ];
patches = [ ]; patches = [ ];
in in
buildLinux ( buildLinux (
@ -43,14 +42,11 @@ buildLinux (
inherit pver upstream_patch; inherit pver upstream_patch;
src = src_pine64; src = src_pine64;
}; };
features = { features = { };
debug = true; # needed for BTF generation
};
structuredExtraConfig = import ./config.nix { structuredExtraConfig = import ./config.nix {
inherit lib; inherit lib;
version = pver; version = pver;
}; };
# autoModules = false;
kernelPatches = kernelPatches ++ map apply_patch patches; kernelPatches = kernelPatches ++ map apply_patch patches;
extraMeta = { extraMeta = {

File diff suppressed because it is too large Load diff