From c001078e568b0a7abb9f601a7347e642dc04f879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 7 Mar 2024 13:01:59 +0200 Subject: [PATCH] arm64: compile some stuff natively --- shared/platform/orangepi5plus.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shared/platform/orangepi5plus.nix b/shared/platform/orangepi5plus.nix index 3564c19..acd62c8 100644 --- a/shared/platform/orangepi5plus.nix +++ b/shared/platform/orangepi5plus.nix @@ -5,10 +5,11 @@ modulesPath, ... }: let - crossPkgs = pkgs.crossArm64.pkgsCross.aarch64-multiplatform; + crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform; + crossNative = pkgs.pkgsCross.aarch64-multiplatform; in { boot = { - kernelPackages = crossPkgs.linuxPackagesFor (crossPkgs.buildLinux rec { + kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec { version = "6.8.0-rc7"; modDirVersion = "6.8.0-rc7"; @@ -50,6 +51,6 @@ in { copyChannel = false; inherit config lib pkgs; }; - uboot = crossPkgs.callPackage ../../hacks/orangepi5plus/uboot {}; + uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {}; }; }