From 7f1798d8fd6acb51099b1bb9cca9ba989b2d4a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 10 Apr 2024 02:17:14 +0300 Subject: [PATCH] aarch64 kernel: native no powerful x86_64 hosts remaining. --- shared/platform/orangepi5plus.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/shared/platform/orangepi5plus.nix b/shared/platform/orangepi5plus.nix index 7c7a5e3..9443c01 100644 --- a/shared/platform/orangepi5plus.nix +++ b/shared/platform/orangepi5plus.nix @@ -5,13 +5,14 @@ modulesPath, ... }: let - crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform; + #crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform; crossNative = pkgs.pkgsCross.aarch64-multiplatform; in { mj.skipPerf = true; boot = { - kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec { + #kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec { + kernelPackages = crossNative.linuxPackagesFor (crossNative.buildLinux rec { version = "6.9.0-rc1"; modDirVersion = "6.9.0-rc1"; @@ -55,6 +56,7 @@ in { copyChannel = false; inherit config lib pkgs; }; - uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {}; + #uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {}; + uboot = crossNative.callPackage ../../hacks/orangepi5plus/uboot {}; }; }