aarch64 kernel: native

no powerful x86_64 hosts remaining.
This commit is contained in:
Motiejus Jakštys 2024-04-10 02:17:14 +03:00
parent 3172dc8275
commit 7f1798d8fd

View File

@ -5,13 +5,14 @@
modulesPath, modulesPath,
... ...
}: let }: let
crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform; #crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform;
crossNative = pkgs.pkgsCross.aarch64-multiplatform; crossNative = pkgs.pkgsCross.aarch64-multiplatform;
in { in {
mj.skipPerf = true; mj.skipPerf = true;
boot = { boot = {
kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec { #kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec {
kernelPackages = crossNative.linuxPackagesFor (crossNative.buildLinux rec {
version = "6.9.0-rc1"; version = "6.9.0-rc1";
modDirVersion = "6.9.0-rc1"; modDirVersion = "6.9.0-rc1";
@ -55,6 +56,7 @@ in {
copyChannel = false; copyChannel = false;
inherit config lib pkgs; inherit config lib pkgs;
}; };
uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {}; #uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {};
uboot = crossNative.callPackage ../../hacks/orangepi5plus/uboot {};
}; };
} }