arm64: compile some stuff natively
This commit is contained in:
parent
e9f3ef3b2b
commit
c001078e56
@ -5,10 +5,11 @@
|
|||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
crossPkgs = pkgs.crossArm64.pkgsCross.aarch64-multiplatform;
|
crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform;
|
||||||
|
crossNative = pkgs.pkgsCross.aarch64-multiplatform;
|
||||||
in {
|
in {
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = crossPkgs.linuxPackagesFor (crossPkgs.buildLinux rec {
|
kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec {
|
||||||
version = "6.8.0-rc7";
|
version = "6.8.0-rc7";
|
||||||
modDirVersion = "6.8.0-rc7";
|
modDirVersion = "6.8.0-rc7";
|
||||||
|
|
||||||
@ -50,6 +51,6 @@ in {
|
|||||||
copyChannel = false;
|
copyChannel = false;
|
||||||
inherit config lib pkgs;
|
inherit config lib pkgs;
|
||||||
};
|
};
|
||||||
uboot = crossPkgs.callPackage ../../hacks/orangepi5plus/uboot {};
|
uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user