add a servo-cross
target
though it looks like rpi4 linux actually fails to cross-compile due to some RMW page error
This commit is contained in:
@@ -104,7 +104,8 @@
|
|||||||
# special cross-compiled variant, to speed up deploys from an x86 box to the arm target
|
# special cross-compiled variant, to speed up deploys from an x86 box to the arm target
|
||||||
# note that these *do* produce different store paths, because the closure for the tools used to cross compile
|
# note that these *do* produce different store paths, because the closure for the tools used to cross compile
|
||||||
# v.s. emulate differ.
|
# v.s. emulate differ.
|
||||||
# so deploying moby-cross and then moby incurs some rebuilding.
|
# so deploying foo-cross and then foo incurs some rebuilding.
|
||||||
|
machines.servo-cross = decl-bootable-machine { name = "servo"; local = "x86_64-linux"; target = "aarch64-linux"; };
|
||||||
machines.moby-cross = decl-bootable-machine { name = "moby"; local = "x86_64-linux"; target = "aarch64-linux"; };
|
machines.moby-cross = decl-bootable-machine { name = "moby"; local = "x86_64-linux"; target = "aarch64-linux"; };
|
||||||
machines.rescue = decl-bootable-machine { name = "rescue"; local = "x86_64-linux"; target = "x86_64-linux"; };
|
machines.rescue = decl-bootable-machine { name = "rescue"; local = "x86_64-linux"; target = "x86_64-linux"; };
|
||||||
in {
|
in {
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
# nixos-22.05 linux 5.15 DOES have these now.
|
# nixos-22.05 linux 5.15 DOES have these now.
|
||||||
# it should be possible to remove this if desired, but i'm not sure how the rpi-specific kernel differs.
|
# it should be possible to remove this if desired, but i'm not sure how the rpi-specific kernel differs.
|
||||||
# see: https://github.com/raspberrypi/linux
|
# see: https://github.com/raspberrypi/linux
|
||||||
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
boot.kernelPackages = pkgs.cross.linuxPackages_rpi4;
|
||||||
|
|
||||||
# raspberryPi boot loader creates extlinux.conf.
|
# raspberryPi boot loader creates extlinux.conf.
|
||||||
# otherwise, enable the generic-extlinux-compatible loader below.
|
# otherwise, enable the generic-extlinux-compatible loader below.
|
||||||
|
Reference in New Issue
Block a user